storage/packaging/ubuntu
Solomon Hykes 152a9f77b4 Fix ubuntu packaging to build from a clean checkout of the correct git tag 2013-04-19 12:39:40 -07:00
..
source
Makefile Fix ubuntu packaging to build from a clean checkout of the correct git tag 2013-04-19 12:39:40 -07:00
README.ubuntu
Vagrantfile packaging-ubuntu, issue #30: Ensure docker package installs and passes tests on official vagrant Ubuntu 12.04 box 2013-04-17 21:10:53 -07:00
changelog packaging-ubuntu, issue #30: Ensure docker package installs and passes tests on official vagrant Ubuntu 12.04 box 2013-04-17 21:10:53 -07:00
compat
control
copyright
docker.upstart packaging-ubuntu, issue #30: Ensure docker package installs and passes tests on official vagrant Ubuntu 12.04 box 2013-04-17 21:10:53 -07:00
docs
lxc-docker.postinst
lxc-docker.prerm
maintainer.ubuntu packaging-ubuntu, issue #30: Ensure docker package installs and passes tests on official vagrant Ubuntu 12.04 box 2013-04-17 21:10:53 -07:00
rules

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