added runit scripts
This commit is contained in:
parent
2e437cd329
commit
c65de416de
81 changed files with 114 additions and 0 deletions
8
runit_scripts/docker/run
Executable file
8
runit_scripts/docker/run
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
[ -r conf ] && . ./conf
|
||||
modprobe -q loop || exit 1
|
||||
mountpoint -q /sys/fs/cgroup/systemd || {
|
||||
mkdir -p /sys/fs/cgroup/systemd;
|
||||
mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd;
|
||||
}
|
||||
exec chpst -o 1048576 -p 1048576 dockerd $OPTS 2>&1
|
||||
Loading…
Add table
Add a link
Reference in a new issue