Created
January 29, 2018 11:55
-
-
Save vladbabii/bcb06441471b8d6a64254158916a21f4 to your computer and use it in GitHub Desktop.
install_rancher_over_docker.sh
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
mkdir -p /mnt/rancher_mysql | |
chmod -R 777 /mnt/rancher_mysql | |
docker run -d -v /mnt/rancher_mysql:/var/lib/mysql --restart=always -p 64080:8080 -p 9345:9345 rancher/server --advertise-address $RANCHERPUBLICIP --advertise-http-port 64080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment