Skip to content

Instantly share code, notes, and snippets.

@empeje
Last active June 4, 2019 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save empeje/c5a8eefb72a0fc2a29fa6166bf752b31 to your computer and use it in GitHub Desktop.
Save empeje/c5a8eefb72a0fc2a29fa6166bf752b31 to your computer and use it in GitHub Desktop.
Install Docker on Digital Ocean VM
#!/usr/bin/env bash
apt update
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
apt install docker-ce
apt install python
apt install python-pip
pip install docker-compose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment