1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Update hack/dind to mount cgroups on "/cgroup" instead of "/sys/fs/cgroup" for better compatibility

Fixes #5122

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
This commit is contained in:
Tianon Gravi 2014-04-28 23:14:23 -06:00
parent af72ca199d
commit 659305085f

View file

@ -10,7 +10,7 @@
# Usage: dind CMD [ARG...] # Usage: dind CMD [ARG...]
# First, make sure that cgroups are mounted correctly. # First, make sure that cgroups are mounted correctly.
CGROUP=/sys/fs/cgroup CGROUP=/cgroup
[ -d $CGROUP ] || [ -d $CGROUP ] ||
mkdir $CGROUP mkdir $CGROUP