void-packages/srcpkgs/moby/files/docker/run
rainyuu 9b3c344a79 docker: split package, update to 20.10.5
New package: docker-cli-20.10.5
New package: moby-20.10.5
2021-04-01 13:14:14 -04:00

8 lines
266 B
Bash

#!/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