Add a system containerd

This adds an independent system containerd for running internal
containers.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2016-07-14 12:28:44 +01:00
parent a14f34701e
commit 220f3df37a
4 changed files with 30 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
#!/sbin/openrc-run
depend()
{
after docker
}
start()
{
ebegin "Running system containerd"
# set ulimits as high as possible
ulimit -n 1048576
ulimit -p unlimited
/usr/bin/containerd &
}