Last active
June 23, 2018 00:04
-
-
Save evaldosantos/fff717ca24b00503d64769b8541aa719 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
sudo dnf clean all | |
# Install the dnf-plugins-core package which provides the commands to manage your DNF repositories from the command line. | |
sudo dnf -y install dnf-plugins-core | |
# Use the following command to set up the stable repository. | |
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo | |
# Enable the edge and test repositories. | |
sudo dnf config-manager --set-enabled docker-ce-edge | |
sudo dnf config-manager --set-enabled docker-ce-test | |
# Install the latest version of Docker CE | |
sudo dnf install docker-ce -y | |
# Create the docker group. | |
sudo groupadd docker | |
# Add your user to the docker group. | |
sudo usermod -aG docker $USER | |
# Get the latest version of Docker Compose | |
sudo curl -L --fail https://github.com/docker/compose/releases/download/1.21.2/run.sh -o /usr/local/bin/docker-compose | |
# Apply executable permissions to the binary | |
sudo 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