mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-30 02:54:11 +00:00
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:
17
alpine/packages/containerd/etc/init.d/containerd
Executable file
17
alpine/packages/containerd/etc/init.d/containerd
Executable 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 &
|
||||
}
|
||||
Reference in New Issue
Block a user