1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/packaging/debian
Daniel Mizyrycki 9bf8ad741f Merge pull request #1083 from hukeli/debian
Keep debian package up-to-date
2013-07-12 15:24:37 -07:00
..
source packaging; issue #251: Add debian packaging 2013-04-10 21:00:39 -07:00
changelog Bumped version to 0.3.4 2013-05-30 17:27:45 -07:00
compat packaging; issue #251: Add debian packaging 2013-04-10 21:00:39 -07:00
control add aufs-tools to lxc-docker dependencies 2013-06-14 21:38:15 +03:00
copyright packaging-debian; issue #251: Update files for prerelease 2013-05-14 03:28:59 -07:00
docs packaging; issue #251: Add debian packaging 2013-04-10 21:00:39 -07:00
lxc-docker.1 packaging-debian; issue #251: Update files for prerelease 2013-05-14 03:28:59 -07:00
lxc-docker.init packaging-debian; issue #251: Update files for prerelease 2013-05-14 03:28:59 -07:00
maintainer.rst Packaging, Debian: Add maintainer documentation 2013-04-11 20:17:41 -07:00
Makefile Keep debian package up-to-date 2013-07-01 16:15:56 +08:00
parse_changelog.py Keep debian package up-to-date 2013-07-01 16:15:56 +08:00
README.Debian packaging-debian; issue #251: Update files for prerelease 2013-05-14 03:28:59 -07:00
rules packaging-debian; issue #251: Update files for prerelease 2013-05-14 03:28:59 -07:00
Vagrantfile Packaging, issue #1202: Upgrade vagrantfile go in debian packaging 2013-07-12 15:06:12 -07:00

Docker on Debian
================

Docker has been built and tested on Wheezy. All docker functionality works
out of the box, except for memory limitation as the stock debian kernel
disables it by default. To enable docker memory limitation, the kernel needs
to be loaded with boot parameters: cgroup_enable=memory swapaccount=1


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

Assuming you have a wheezy system up and running

# Get building dependencies
sudo apt-get update
sudo apt-get install -y debhelper build-essential autotools-dev golang

# Make the debian package
git clone https://github.com/dotcloud/docker.git
cd docker/packaging/debian
make debian


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

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