Skip to content

Commit

Permalink
mount cgroup for docker daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverkurth committed Feb 19, 2024
1 parent aed0bdb commit 548ee12
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions photon_installer/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1118,6 +1118,9 @@ def _mount_special_folders(self):
for d in ["/proc", "/dev", "/dev/pts", "/sys"]:
self._mount(d, d, bind=True)

for d in ["/sys/fs/cgroup"]:
self._mount(d, d, bind=True)

for d in ["/tmp", "/run"]:
self._mount('tmpfs', d, fstype='tmpfs')

Expand Down

0 comments on commit 548ee12

Please sign in to comment.