Skip to content

Commit b3d8a70

Browse files
committed
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 <[email protected]>
1 parent 1212f32 commit b3d8a70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/bootc-install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ via e.g.:
166166

167167
```bash
168168
truncate -s 10G myimage.raw
169-
podman run --rm --privileged --pid=host --security-opt label=type:unconfined_t -v /var/lib/containers:/var/lib/containers -v .:/output <yourimage> bootc install to-disk --generic-image --via-loopback /output/myimage.raw
169+
podman run --rm --privileged --pid=host --security-opt label=type:unconfined_t -v /dev:/dev -v /var/lib/containers:/var/lib/containers -v .:/output <yourimage> bootc install to-disk --generic-image --via-loopback /output/myimage.raw
170170
```
171171

172172
Notice that we use `--generic-image` for this use case.

0 commit comments

Comments
 (0)