Last active
November 24, 2020 06:56
-
-
Save capsulecorplab/75bf4fcb6463f750ca8e669350110c4f to your computer and use it in GitHub Desktop.
bash script for installing 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
#!/usr/bin/env bash | |
# install docker | |
# see https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04 | |
sudo apt install apt-transport-https ca-certificates curl software-properties-common -y | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" | |
sudo apt update -y | |
apt-cache policy docker-ce | |
sudo apt install docker-ce -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment