Skip to content

Instantly share code, notes, and snippets.

@cloudbitvps
Forked from zulhfreelancer/install-docker.md
Created January 21, 2018 07:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cloudbitvps/7d127ba4f845d036ebb81f1eec82195f to your computer and use it in GitHub Desktop.
Save cloudbitvps/7d127ba4f845d036ebb81f1eec82195f to your computer and use it in GitHub Desktop.
Install Docker oneliner script

Just install Docker

$ curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh

Install Docker and Rancher Server

$ curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh && sudo docker run -d --restart=unless-stopped -p 8080:8080 rancher/server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment