GETTING STARTED

Docker is still under heavy development. It should not yet be used in production. Check the repo for recent progress.

Installing on Ubuntu

Requirements

  • Ubuntu 12.04 (LTS) (64-bit)
  • or Ubuntu 12.10 (quantal) (64-bit)
  1. Install dependencies

    The linux-image-extra package is only needed on standard Ubuntu EC2 AMIs in order to install the aufs kernel module.
    sudo apt-get install linux-image-extra-`uname -r`
  2. Install Docker

    Add the Ubuntu PPA (Personal Package Archive) sources to your apt sources list, update and install.

    You may see some warnings that the GPG keys cannot be verified.

    sudo sh -c "echo 'deb http://ppa.launchpad.net/dotcloud/lxc-docker/ubuntu precise main' >> /etc/apt/sources.list"
    sudo apt-get update
    sudo apt-get install lxc-docker
  3. Run!

    docker run -i -t ubuntu /bin/bash
  4. Continue with the Hello world example.

Contributing to Docker

Want to hack on Docker? Awesome! We have some instructions to get you started. They are probably not perfect, please let us know if anything feels wrong or incomplete.

Quick install on other operating systems

For other operating systems we recommend and provide a streamlined install with virtualbox, vagrant and an Ubuntu virtual machine.

More resources

Fill out my online form.