Skip to content

Instantly share code, notes, and snippets.

@GregaVrbancic
Last active April 13, 2022 16:36
Show Gist options
  • Save GregaVrbancic/b8627deef3197f2e96f5eaee6258eb44 to your computer and use it in GitHub Desktop.
Save GregaVrbancic/b8627deef3197f2e96f5eaee6258eb44 to your computer and use it in GitHub Desktop.
[Bash script for installing Docker on Ubuntu 16.04] #Linux #Terminal #Bash
#!/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