Please note this is a community contributed installation path. The only ‘official’ installation is using the Ubuntu Linux installation path. This version may sometimes be out of date.
Requirements: This guide will setup a new virtual machine with docker installed on your computer. This works on most operating systems, including MacOX, Windows, Linux, FreeBSD and others. If you can install these and have at least 400Mb RAM to spare you should be good.
git
in a terminal windowFetch the docker sources (this includes the Vagrantfile for machine setup).
git clone https://github.com/dotcloud/docker.git
Run vagrant from the sources directory
vagrant up
Vagrant will:
You now have a Ubuntu Virtual Machine running with docker pre-installed.
To access the VM and use Docker, Run vagrant ssh
from the same directory as where you ran
vagrant up
. Vagrant will connect you to the correct VM.
vagrant ssh