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:
parent
af72ca199d
commit
659305085f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue