docker: mount systemd cgroup at startup
This commit is contained in:
committed by
Helmut Pozimski
parent
2a293dc31d
commit
3572c2c1ed
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user