Skip to content

Instantly share code, notes, and snippets.

@Bambarello
Last active May 6, 2019 10:16
Show Gist options
  • Save Bambarello/93d529a19a28fa25ee95be2ab2e180e3 to your computer and use it in GitHub Desktop.
Save Bambarello/93d529a19a28fa25ee95be2ab2e180e3 to your computer and use it in GitHub Desktop.
#!/bin/bash
### usage
## wget -O - https://gist.githubusercontent.com/Bambarello/93d529a19a28fa25ee95be2ab2e180e3/raw/968b3ebe96deda53d4bfd29f5f207f8222100d75/docker-utils-install.sh | bash
sudo apt-get update -y
sudo apt-get install -y wget curl tmux htop jq nano screen
# Purge old installations
sudo apt-get purge docker docker-engine docker.io
# Install repo & docker - amd64
sudo apt-get update -y
# sudo apt-get upgrade -y
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
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 -y
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