mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
28 lines
779 B
Text
28 lines
779 B
Text
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
|