moby--moby/packaging/ubuntu
Michael Crosby e3acbff2ed Revert "docker.upstart: avoid spawning a `sh` process"
This reverts commit 24dd50490a.
2013-08-10 03:06:08 +00:00
..
source packaging-ubuntu: move original files in place for update 2013-04-17 20:56:34 -07:00
Makefile Make sure all sources have the wanted revision 2013-08-05 19:58:48 -07:00
README.ubuntu packaging-ubuntu, issue #30: streamline building and uploading to PPA 2013-04-17 20:56:34 -07:00
Vagrantfile packaging ubuntu; issue #510: Use goland-stable PPA package to build docker 2013-05-06 15:56:50 -07:00
compat packaging-ubuntu: move original files in place for update 2013-04-17 20:56:34 -07:00
control add aufs-tools to lxc-docker dependencies 2013-06-14 21:38:15 +03:00
copyright packaging-ubuntu, issue #30: streamline building and uploading to PPA 2013-04-17 20:56:34 -07:00
docker.upstart Revert "docker.upstart: avoid spawning a `sh` process" 2013-08-10 03:06:08 +00:00
docs packaging-ubuntu: move original files in place for update 2013-04-17 20:56:34 -07:00
lxc-docker.postinst packaging-ubuntu, issue #30: streamline building and uploading to PPA 2013-04-17 20:56:34 -07:00
lxc-docker.prerm Packaging|ubuntu, issue #601: Allow packaging prerm to do its job 2013-06-21 17:37:32 -07:00
maintainer.ubuntu packaging-ubuntu: update maintainer documentation for changelog file 2013-04-23 13:51:03 -07:00
parse_changelog.py Packaging|ubuntu, issue #954: Generate debian/changelog from main CHANGELOG.md 2013-06-19 16:32:51 -07:00
rules packaging-ubuntu: move original files in place for update 2013-04-17 20:56:34 -07:00

README.ubuntu

Docker on Ubuntu
================

The easiest way to get docker up and running natively on Ubuntu is installing
it from its official PPA::

  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


Building docker package
~~~~~~~~~~~~~~~~~~~~~~~

The building process is shared by both, developers and maintainers. If you are
a developer, the Makefile will stop with exit status 2 right before signing
the built packages.

Assuming you are working on an Ubuntu 12.04 TLS system ::

  # Download a fresh copy of the docker project
  git clone https://github.com/dotcloud/docker.git
  cd docker

  # Get building dependencies
  sudo apt-get update; sudo apt-get install -y debhelper autotools-dev devscripts golang

  # Make the ubuntu package
  (cd packaging/ubuntu; make ubuntu)


Install docker built package
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

::

  sudo dpkg -i lxc-docker_*_amd64.deb; sudo apt-get install -f -y