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 [2015-04-09 16:55] glen [Docker] add Prerequisites |
packages:docker [2016-02-09 07:48] glen [Network Configuration] |
||
---|---|---|---|
Line 3: | Line 3: | ||
[[https://www.docker.io/|Docker, The Linux container engine]] is an open source project to pack, ship and run any application as a lightweight container. | [[https://www.docker.io/|Docker, The Linux container engine]] is an open source project to pack, ship and run any application as a lightweight container. | ||
- | Have look at Docker [[https://www.docker.io/gettingstarted/|getting started]]. | + | Have look at Docker [[https://docs.docker.com/linux/|getting started]]. |
===== Prerequisites ===== | ===== Prerequisites ===== | ||
- | [[docs:lxc#prerequisites|LXC]] with ''USER_NS'', ''USER_NET'', etc. | + | [[packages:kernel]] with ''USER_NS'', ''USER_NET'', etc. |
===== Network Configuration ===== | ===== Network Configuration ===== | ||
Line 23: | Line 23: | ||
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 ===== | ||
Line 79: | Line 85: | ||
You can see more available samples in [[https://github.com/dotcloud/docker/tree/master/contrib|docker/contrib/]]. | You can see more available samples in [[https://github.com/dotcloud/docker/tree/master/contrib|docker/contrib/]]. | ||
- | also, you can try [[.:people:glen|glen's]] [[https://index.docker.io/u/glen/pld/|pld test]] image: | + | also, you can try [[people:glen|glen's]] [[https://index.docker.io/u/glen/pld/|pld test]] image: |
<code bash> | <code bash> | ||
vagrant@pld64 ~$ sudo docker run -i -t glen/pld bash | vagrant@pld64 ~$ sudo docker run -i -t glen/pld bash |