docker: mount systemd cgroup at startup
This commit is contained in:
parent
2a293dc31d
commit
3572c2c1ed
2 changed files with 5 additions and 1 deletions
|
@ -1,4 +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>/dev/null
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'docker'
|
||||
pkgname=docker
|
||||
version=18.09.1
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="${pkgname}-ce-${version}"
|
||||
hostmakedepends="git go pkg-config curl cmake"
|
||||
makedepends="libbtrfs-devel sqlite-devel device-mapper-devel libseccomp-devel libapparmor-devel libltdl-devel"
|
||||
|
|
Loading…
Reference in a new issue