Skip to content

Instantly share code, notes, and snippets.

@sentient
Last active April 18, 2017 03:02
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 sentient/07d9deb15d2cd3980268f0831b5f0013 to your computer and use it in GitHub Desktop.
Save sentient/07d9deb15d2cd3980268f0831b5f0013 to your computer and use it in GitHub Desktop.
Docker Keras TensorFlow notes

Pre

We need to have docker installed!

Install docker-engine

(Do NOT install docker.io)

https://docs.docker.com/engine/installation/linux/ubuntu/

Install packages to allow apt to use a repository over HTTPS:

$ sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    software-properties-common

(Nothing new installed)

$ curl -fsSL https://apt.dockerproject.org/gpg | sudo apt-key add -

$ sudo apt-key fingerprint 58118E89F3A912897C070ADBF76221572C52609D

$ sudo add-apt-repository \
       "deb https://apt.dockerproject.org/repo/ \
       ubuntu-$(lsb_release -cs) \
       main"

New repository is added to

$ more /etc/apt/sources.list

Update sources and install docker-engine

$ sudo apt-get update

$ sudo apt-get -y install docker-engine

Verify

docker -v
Docker version 17.03.0-ce, build 60ccb22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment