Docker管理平台的简单操作
-
访问平台并切换语言
-
添加主机、查看代理服务运行状态
##将在浏览器中复制的代码添加到主机
[root@localhost docker_images]# sudo docker run -d --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/rancher:/var/lib/rancher rancher/agent:v1.0.2 http://192.168.131.116/v1/scripts/D01F6293AA65EDE96D49:1609912800000:Qeb7rbfLLjcw0Hirk2ZkHbxDzgI
866e0b33325a705bd723ac20acfe1a7196fc49541a38041beb4160049b3e7624
[root@localhost docker_images]#
##查看状态
[root@localhost docker_images]# doc