Skip to content

Instantly share code, notes, and snippets.

@xetys
Created October 26, 2017 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xetys/25efa2ec9bc83cadad2fe95d7534e147 to your computer and use it in GitHub Desktop.
Save xetys/25efa2ec9bc83cadad2fe95d7534e147 to your computer and use it in GitHub Desktop.
rancher cluster
# --volume-plugin-dir=/var/lib/rancher/etc/vol-plugins
apt update && apt install -y docker.io && docker pull rancher/server:stable && docker pull rancher/agent:v1.2.6
apt update && apt install -y docker.io && docker pull rancher/agent:v1.2.6
docker run -d --name=rancher-server --restart=unless-stopped -p 8080:8080 rancher/server:stable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment