Skip to content

Commit

Permalink
Work around cgroupns Docker limitation
Browse files Browse the repository at this point in the history
  • Loading branch information
samdbmg committed Sep 13, 2024
1 parent 842f154 commit 0891e4d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ platforms:
- /tmp
- /run/lock
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /sys/fs/cgroup:/sys/fs/cgroup:rw
command: ${MOLECULE_DOCKER_COMMAND:-""} # systemd won't work if this is left to molecule's default
pre_build_image: true
cgroupns_mode: host
privileged: true
provisioner:
name: ansible
scenario:
Expand Down

0 comments on commit 0891e4d

Please sign in to comment.