Last active
February 22, 2018 13:52
-
-
Save alexishida/bf2ff24031f7d4e460e55928657ed35e to your computer and use it in GitHub Desktop.
Comandos do rancher
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker stop rancher-server | |
| docker cp rancher-server:/var/lib/mysql /storage/rancher-server | |
| sudo chown -R 102:105 /storage/rancher-server/mysql | |
| docker pull rancher/server:latest | |
| docker run -d -v /storage/rancher-server/mysql:/var/lib/mysql -v /etc/localtime:/etc/localtime:ro -p 8080:8080 --restart=always --name rancher-server-v1 rancher/server:latest | |
| # Mantendo a versão do docker | |
| sudo apt-mark hold docker-ce |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment