Skip to content

Commit 08d996c

Browse files
Add Host filesystem mount to hook-docker:
This is helpful for Action images that might need access to root Host filesystem locations. For example, when using https://github.com/jaypipes/ghw in an Action. ghw needs access to udev data that only exists in the Host filesystem. Signed-off-by: Jacob Weinstock <[email protected]>
1 parent f99080d commit 08d996c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

linuxkit-templates/hook.template.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ services:
176176
- /var/run/docker:/var/run
177177
- /var/run/images:/var/lib/docker
178178
- /var/run/worker:/worker
179+
- /:/host_root
179180
runtime:
180181
mkdir:
181182
- /var/run/images

0 commit comments

Comments
 (0)