|
#!/bin/sh
|
|
exec 2>&1
|
|
[ -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
|