Skip to content

Instantly share code, notes, and snippets.

@mrrooijen
Created June 14, 2017 21:32
Show Gist options
  • Save mrrooijen/cde4b356c0c4ca0d79b75e46a0bd1898 to your computer and use it in GitHub Desktop.
Save mrrooijen/cde4b356c0c4ca0d79b75e46a0bd1898 to your computer and use it in GitHub Desktop.
# Install Docker
curl -fsSL https://get.docker.com/ | sh
# Run Rancher
docker run -d \
--name=rancher \
--restart=always \
-v /var/lib/mysql:/var/lib/mysql \
-p 8080:8080 \
rancher/server:stable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment