SlackBuilds Repository

14.1 > System > docker (1.3.0)

Docker is an open-source project to easily create lightweight, portable,
self-sufficient containers from any application. The same container that
a developer builds and tests on a laptop can run at scale, in production,
on VMs, bare metal, OpenStack clusters, public clouds and more.

To use docker as a limited user, add your user to the 'docker' group:

# groupadd -r -g 281 docker
# usermod -a -G docker <your_username>

This will require logging out and back in.

To have the docker daemon start and stop with your host,
add to /etc/rc.d/rc.local:

if [ -x /etc/rc.d/rc.docker ]; then
/etc/rc.d/rc.docker start
fi

and to /etc/rc.d/rc.local_shutdown (creating it if needed):

if [ -x /etc/rc.d/rc.docker ]; then
/etc/rc.d/rc.docker stop
fi

For cgroups, docker does not support mounting cgroups on the "all" single hierarchy controller,
but rather the individual controllers.

To accomplish this, add the following to your /etc/fstab:

cgroup /cgroup/cpuset cgroup rw,relatime,cpuset 0 0
cgroup /cgroup/cpu cgroup rw,relatime,cpu 0 0
cgroup /cgroup/cpuacct cgroup rw,relatime,cpuacct 0 0
cgroup /cgroup/memory cgroup rw,relatime,memory 0 0
cgroup /cgroup/devices cgroup rw,relatime,devices 0 0
cgroup /cgroup/freezer cgroup rw,relatime,freezer 0 0
cgroup /cgroup/net_cls cgroup rw,relatime,net_cls 0 0
cgroup /cgroup/blkio cgroup rw,relatime,blkio 0 0


And in addition, add to /etc/cgconfig.conf the following:

mount {
cpuset = /cgroup/cpuset;
cpu = /cgroup/cpu;
cpuacct = /cgroup/cpuacct;
memory = /cgroup/memory;
devices = /cgroup/devices;
freezer = /cgroup/freezer;
net_cls = /cgroup/net_cls;
blkio = /cgroup/blkio;
}

If you are interested in enabling cgroup memory resource controll over swap as
well, then append "swapaccount=1" to your kernel's parameters. This is often in
/etc/lilo.conf, on the "append" variable.

NOTE: google-go-lang is only needed at compile time - not needed for runtime.

This requires: google-go-lang

Maintained by: Vincent Batts
Keywords: dock,slit,dockapp,tray,system tray,virtualization,virt,container,lxc,containers,images,docker

Homepage:
https://docker.io/

Source Downloads:
v1.3.0.tar.gz (9fb2716980f5602d0fbb7da8cf71f8f6)

Download SlackBuild:
docker.tar.gz
docker.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

[  Exec: 0.0294 sec  |  Load: 0.17 0.11 0.13  ]

© 2006-2014 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds
Web Design by WebSight Designs |  Managed Hosting by OnyxLight Communications