readme: mention mount for container

People often forget to mount, we're a bit clearer about this in
`bootc-image-builder`; let's make it clear here as well.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
This commit is contained in:
Simon de Vlieger 2025-06-25 09:02:14 +02:00 committed by Michael Vogt
parent 199f8f3788
commit 3cabb30ff8

View file

@ -45,6 +45,13 @@ Lastly you can use a container:
$ sudo podman run --privileged ghcr.io/osbuild/image-builder-cli
```
When building an image in the container it will be written to `/output` in the container. If you want the produced images available on your host system mount that directory:
```console
$ mkdir output
$ sudo podman run --privileged -v ./output:/output ghcr.io/osbuild/image-builder-cli
```
## Compilation
You can compile the application in `cmd/image-builder` with