Skip to content

Instantly share code, notes, and snippets.

@cwilhit
Last active November 17, 2017 18:49
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 cwilhit/dbc3c93c91b56cff251e610962b2fa63 to your computer and use it in GitHub Desktop.
Save cwilhit/dbc3c93c91b56cff251e610962b2fa63 to your computer and use it in GitHub Desktop.
#update apt
sudo apt-get update
#install packages to use repo over HTTPS
sudo apt-get install apt-transport-https \
ca-certificates curl software-properties-common
#Add Docker GPG key
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add –
#Now we’ll add the docker repo
sudo add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable”
#update apt
sudo apt-get update
#Install docker CE
sudo apt-get install docker-ce
#enable volume mounting
sudo mkdir /c
sudo mount --bind /mnt/c /c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment