Skip to content

Instantly share code, notes, and snippets.

@th3happybit
Last active June 15, 2020 09:17
Show Gist options
  • Save th3happybit/db046c16373287ccc0acf68f9e6492a4 to your computer and use it in GitHub Desktop.
Save th3happybit/db046c16373287ccc0acf68f9e6492a4 to your computer and use it in GitHub Desktop.
apt-get update && apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - && sudo apt-key fingerprint 0EBFCD88 && sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable" && apt-get update && apt-get install docker-ce docker-ce-cli containerd.io && curl -L "https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose && ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment