Last active
April 13, 2022 16:36
-
-
Save GregaVrbancic/b8627deef3197f2e96f5eaee6258eb44 to your computer and use it in GitHub Desktop.
[Bash script for installing Docker on Ubuntu 16.04] #Linux #Terminal #Bash
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 | |
sudo true | |
sudo apt-get update | |
sudo apt-get 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 $(lsb_release -cs) stable" | |
sudo apt-get update | |
sudo apt-get install docker-ce -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment