Rancher Server Deployment
Make sure you have a clean host with docker daemon installed, then simply run
[root@msdlva-dsnsmt43 tmp]# docker run -d --restart=unless-stopped -p 80:80 -p 443:443 -v /opt/rancher:/var/lib/rancher rancher/rancher:latest
Unable to find image 'rancher/rancher:latest' locally
latest: Pulling from rancher/rancher
22e816666fd6: Pull complete
079b6d2a1e53: Pull complete
11048ebae908: Pull complete
c58094023a2e: Pull complete
8a37a3d9d32f: Pull complete
e403b6985877: Pull complete
9acf582a7992: Pull complete
bed4e005ec0d: Pull complete
74a2e9817745: Pull complete
322f0c253a60: Pull complete
883600f5c6cf: Pull complete
ff331cbe510b: Pull complete
e1d7887879ba: Pull complete
5a5441e6019b: Pull complete
Digest: sha256:f8751258c145cfa8cfb5e67d9784863c67937be3587c133288234a077ea386f4
Status: Downloaded newer image for rancher/rancher:latest
bc28ec5b6222709ec27d03b3c9c1b720d6381431925d5ffa2596ba974671d1bb
[root@msdlva-dsnsmt43 tmp]# docker logs --tail 10 -f bc2
2019/11/15 20:14:39 [INFO] update kontainerdriver huaweicontainercloudengine
2019/11/15 20:14:44 [INFO] kontainerdriver googlekubernetesengine listening on address 127.0.0.1:33293
2019/11/15 20:14:44 [INFO] kontainerdriver googlekubernetesengine stopped
2019/11/15 20:14:44 [INFO] kontainerdriver azurekubernetesservice listening on address 127.0.0.1:35948
2019/11/15 20:14:44 [INFO] update kontainerdriver googlekubernetesengine
2019/11/15 20:14:44 [INFO] kontainerdriver azurekubernetesservice stopped
2019/11/15 20:14:44 [INFO] kontainerdriver amazonelasticcontainerservice listening on address 127.0.0.1:45108
2019/11/15 20:14:44 [INFO] kontainerdriver amazonelasticcontainerservice stopped
2019/11/15 20:14:44 [INFO] update kontainerdriver azurekubernetesservice
2019/11/15 20:14:44 [INFO] update kontainerdriver amazonelasticcontainerservice
2019/11/15 20:14:49 [INFO] kontainerdriver googlekubernetesengine listening on address 127.0.0.1:34310
[root@msdlva-dsnsmt43 tmp]# docker run -d --restart=unless-stopped -p 80:80 -p 443:443 -v /opt/rancher:/var/lib/rancher rancher/rancher:latest
Unable to find image 'rancher/rancher:latest' locally
latest: Pulling from rancher/rancher
22e816666fd6: Pull complete
079b6d2a1e53: Pull complete
11048ebae908: Pull complete
c58094023a2e: Pull complete
8a37a3d9d32f: Pull complete
e403b6985877: Pull complete
9acf582a7992: Pull complete
bed4e005ec0d: Pull complete
74a2e9817745: Pull complete
322f0c253a60: Pull complete
883600f5c6cf: Pull complete
ff331cbe510b: Pull complete
e1d7887879ba: Pull complete
5a5441e6019b: Pull complete
Digest: sha256:f8751258c145cfa8cfb5e67d9784863c67937be3587c133288234a077ea386f4
Status: Downloaded newer image for rancher/rancher:latest
bc28ec5b6222709ec27d03b3c9c1b720d6381431925d5ffa2596ba974671d1bb
[root@msdlva-dsnsmt43 tmp]# docker logs --tail 10 -f bc2
2019/11/15 20:14:39 [INFO] update kontainerdriver huaweicontainercloudengine
2019/11/15 20:14:44 [INFO] kontainerdriver googlekubernetesengine listening on address 127.0.0.1:33293
2019/11/15 20:14:44 [INFO] kontainerdriver googlekubernetesengine stopped
2019/11/15 20:14:44 [INFO] kontainerdriver azurekubernetesservice listening on address 127.0.0.1:35948
2019/11/15 20:14:44 [INFO] update kontainerdriver googlekubernetesengine
2019/11/15 20:14:44 [INFO] kontainerdriver azurekubernetesservice stopped
2019/11/15 20:14:44 [INFO] kontainerdriver amazonelasticcontainerservice listening on address 127.0.0.1:45108
2019/11/15 20:14:44 [INFO] kontainerdriver amazonelasticcontainerservice stopped
2019/11/15 20:14:44 [INFO] update kontainerdriver azurekubernetesservice
2019/11/15 20:14:44 [INFO] update kontainerdriver amazonelasticcontainerservice
2019/11/15 20:14:49 [INFO] kontainerdriver googlekubernetesengine listening on address 127.0.0.1:34310
Comments
Post a Comment