Skip to content

Instantly share code, notes, and snippets.

@vladbabii
Created January 29, 2018 11:55
Show Gist options
  • Save vladbabii/bcb06441471b8d6a64254158916a21f4 to your computer and use it in GitHub Desktop.
Save vladbabii/bcb06441471b8d6a64254158916a21f4 to your computer and use it in GitHub Desktop.
install_rancher_over_docker.sh
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