Skip to content

Instantly share code, notes, and snippets.

@jenciso
Last active July 6, 2021 17:08
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 jenciso/1bfba6b9dca8bec6b8856374c8dfbf4f to your computer and use it in GitHub Desktop.
Save jenciso/1bfba6b9dca8bec6b8856374c8dfbf4f to your computer and use it in GitHub Desktop.
Installing docker-ce on Centos 7
sudo yum install -y yum-utils
sudo yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install -y docker-ce docker-ce-cli containerd.io
sudo systemctl start docker && sudo systemctl enable docker
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose
sudo chmod +x /usr/bin/docker-compose
@jenciso
Copy link
Author

jenciso commented May 4, 2021

curl -s https://gist.githubusercontent.com/jenciso/1bfba6b9dca8bec6b8856374c8dfbf4f/raw/4901e5e081abc5036b1c8b3d28fa5d732f58dd13/install-docker-centos7.sh | bash -

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