Skip to content

Instantly share code, notes, and snippets.

@2XXE-SRA
Last active April 1, 2019 16:53
Show Gist options
  • Save 2XXE-SRA/f24e4f658ad0e416426c31b35a91d53f to your computer and use it in GitHub Desktop.
Save 2XXE-SRA/f24e4f658ad0e416426c31b35a91d53f to your computer and use it in GitHub Desktop.
#!/bin/bash
apt-get install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
echo "deb [arch=amd64] https://download.docker.com/linux/debian stretch stable" >> /etc/apt/sources.list
apt update
apt-get install -y docker-ce docker-ce-cli containerd.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment