Skip to content

Instantly share code, notes, and snippets.

@osidney
Created December 26, 2019 03:42
Show Gist options
  • Save osidney/477d10d64b52cf97158f642d3b49f8b1 to your computer and use it in GitHub Desktop.
Save osidney/477d10d64b52cf97158f642d3b49f8b1 to your computer and use it in GitHub Desktop.
Install Docker
#Docker
curl -sSL https://get.docker.com/ | CHANNEL=stable sh
# After the installation process is finished, you may need to enable the service and make sure it is started (e.g. CentOS 7)
systemctl enable docker.service
systemctl start docker.service
#Docker Composer
curl -L https://github.com/docker/compose/releases/download/$(curl -Ls https://www.servercow.de/docker-compose/latest.php)/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment