标签:var 安装 top doc -name pull nta str bsp
docker容器加入开机启动
1.> docker update --restart=always containers/ID
安装rancher-server:
1.> docker pull rancher/server:latest
2.> docker run -d --restart=unless-stopped -p 8080:8080 rancher/server
安装rancher/rancher: # k8s管理平台
1.> docker pull rancher/rancher
2.> docker run -d --restart=unless-stopped -p 80:80 -p 443:443 -v /docker_volume/rancher_home/rancher:/var/lib/rancher -v /docker_volume/rancher_home/auditlog:/var/log/auditlog --name rancher rancher/rancher
访问ip:端口号
1.> rancher-server:
ip:8080
2.> rancher:
ip:80
标签:var 安装 top doc -name pull nta str bsp
原文地址:https://www.cnblogs.com/lfl17718347843/p/12814435.html