This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
packages:docker [2016-01-27 00:11] glen [Docker] |
packages:docker [2016-02-16 12:02] glen [Prerequisites] |
||
---|---|---|---|
Line 9: | Line 9: | ||
[[packages:kernel]] with ''USER_NS'', ''USER_NET'', etc. | [[packages:kernel]] with ''USER_NS'', ''USER_NET'', etc. | ||
+ | |||
+ | ==== Setup Cgroups ==== | ||
+ | |||
+ | Easiest way is to install [[package>libcgroup]] package and enable all cgroup types: | ||
+ | |||
+ | <code> | ||
+ | # install libcgroup and enable mounts | ||
+ | poldek -u --noask libcgroup | ||
+ | sed -i -e '/^#mount/,$ s/^#//' /etc/cgconfig.conf | ||
+ | service cgconfig start | ||
+ | </code> | ||
===== Network Configuration ===== | ===== Network Configuration ===== | ||
Line 23: | Line 34: | ||
Or, to enable it more permanently, enable it on the host's **/etc/sysctl.conf**: | Or, to enable it more permanently, enable it on the host's **/etc/sysctl.conf**: | ||
- | net.ipv4.ip_forward=1 | + | net.ipv4.ip_forward=1 |
+ | |||
+ | ===== How To ===== | ||
+ | ==== Getting rid of unused images ==== | ||
+ | <code> | ||
+ | docker rmi $(docker images --filter dangling=true --quiet) | ||
+ | </code> | ||
===== PLD Base image ===== | ===== PLD Base image ===== | ||