mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-12 22:50:26 +00:00
22 lines
292 B
Plaintext
Executable File
22 lines
292 B
Plaintext
Executable File
#!/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 &
|
|
|
|
ewaitfile 5 /var/run/containerd/containerd.sock
|
|
|
|
eend $? "Failed to start system containerd"
|
|
}
|