003 Installing-Docker
003 Installing-Docker
for the Hands on Labs
Installing Docker
Need to brush up on Docker?
http://bit.ly/SDAWS_34
● Alternatively you can glance over this free material
https://training.docker.com/
Free xubuntu based graphical virtual machine guide
http://nickjanetakis.com/blog/createanawesomelinuxdevelopmentenvironmentinwindowswithvmware
Install: Linux
# The instructions below are valid for Debian or Ubuntu based distributions
Ensure you have a few system dependencies installed
sudo apt get update
sudo apt-get install libapparmor1 aufs-tools
Download and install the latest Docker 1.10 release for your distro
https://apt.dockerproject.org/repo/pool/main/d/docker
engine/
Download the latest Docker Compose 1.6 release
https://github.com/docker/compose/releases
Install Docker Compose
sudo mv docker-compose-Linux-x86_64 /usr/local/bin/docker-compose
sudo chown $(whoami):$(whoami) /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
Allow Docker to be ran without root
sudo usermod -aG docker $(whoami)
● Restart or completely logout out of your OS before continuing
Verify you can run docker and dockercompose
docker --version
docker-compose --version
Install: OSX or Windows
Download the Docker Toolbox
https://github.com/docker/toolbox
● Follow the Mac or Windows guide after installing it
Verify you can run docker and dockercompose
docker --version
docker-compose --version