Created
June 27, 2020 11:51
-
-
Save felipecruz91/5fc3f04663d92685275da25518599b6b to your computer and use it in GitHub Desktop.
Install Docker CE on CentOS 8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Source: https://www.linuxtechi.com/install-docker-ce-centos-8-rhel-8/ | |
sudo dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo | |
sudo dnf list docker-ce | |
sudo dnf install docker-ce --nobest -y | |
sudo systemctl start docker | |
sudo systemctl enable docker | |
sudo docker --version | |
sudo usermod -aG docker $(whoami) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment