cmd/create: Expose the host's /boot inside the container at /run/host
As requested by Colin Walters. https://github.com/containers/toolbox/pull/606
This commit is contained in:
parent
d065ca460a
commit
18e3955fc0
|
|
@ -358,6 +358,7 @@ func createContainer(container, image, release string, showCommandToEnter bool)
|
|||
createArgs = append(createArgs, []string{
|
||||
"--userns=keep-id",
|
||||
"--user", "root:root",
|
||||
"--volume", "/boot:/run/host/boot:rslave",
|
||||
"--volume", "/etc:/run/host/etc",
|
||||
"--volume", "/dev:/dev:rslave",
|
||||
"--volume", "/run:/run/host/run:rslave",
|
||||
|
|
|
|||
Loading…
Reference in New Issue