From b3d8a70b3305772c474da6f9c50205fb514fe42f Mon Sep 17 00:00:00 2001 From: John Eckersberg Date: Tue, 15 Oct 2024 11:08:28 -0400 Subject: [PATCH] docs: install: Add /dev volume mounts for loopback example Without this, we error out with: ERROR Installing to disk: Loopback mounts (--via-loopback) require host devices (-v /dev:/dev) Signed-off-by: John Eckersberg --- docs/src/bootc-install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/bootc-install.md b/docs/src/bootc-install.md index e1da415a..0ecf0470 100644 --- a/docs/src/bootc-install.md +++ b/docs/src/bootc-install.md @@ -166,7 +166,7 @@ via e.g.: ```bash truncate -s 10G myimage.raw -podman run --rm --privileged --pid=host --security-opt label=type:unconfined_t -v /var/lib/containers:/var/lib/containers -v .:/output bootc install to-disk --generic-image --via-loopback /output/myimage.raw +podman run --rm --privileged --pid=host --security-opt label=type:unconfined_t -v /dev:/dev -v /var/lib/containers:/var/lib/containers -v .:/output bootc install to-disk --generic-image --via-loopback /output/myimage.raw ``` Notice that we use `--generic-image` for this use case.