Skip to content

Commit 89898f4

Browse files
Mount /run into getty and hook-docker services:
This puts the host /run and consequently udev data in /run into these other containers in the normal and expected location. Signed-off-by: Jacob Weinstock <[email protected]>
1 parent e4c55cb commit 89898f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

linuxkit-templates/hook.template.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ services:
8888
- /etc/motd:/etc/motd
8989
- /etc/os-release:/etc/os-release
9090
- /:/host_root
91+
- /run:/run
9192
- /dev:/dev
9293
- /dev/console:/dev/console
9394
- /usr/bin/nerdctl:/usr/bin/nerdctl
@@ -178,6 +179,7 @@ services:
178179
- /var/run/images:/var/lib/docker
179180
- /var/run/worker:/worker
180181
- /:/host_root
182+
- /run:/run
181183
runtime:
182184
mkdir:
183185
- /var/run/images

0 commit comments

Comments
 (0)