This is a script that installs Docker
NOTE: This script does not add your user to the docker group, it simply installs Docker
This will not install Docker Compose, but there is a script that does that here.
You need to run the script as root.
Created
December 5, 2020 18:40
-
-
Save okyanusoz/ed6f25c8d73cc49f76c9d5d890cac7f0 to your computer and use it in GitHub Desktop.
A script to quickly setup Docker
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
# Docker install guide from https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04 | |
echo Running apt update... | |
apt update | |
echo Installing dependencies | |
sudo apt install apt-transport-https ca-certificates curl software-properties-common | |
echo Adding GPG key... | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - | |
echo Adding Docker repository... | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" | |
echo Running apt update... | |
apt update | |
echo Installing Docker... | |
apt install docker-ce | |
echo Finished |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment