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:
parent
199f8f3788
commit
3cabb30ff8
1 changed files with 7 additions and 0 deletions
|
|
@ -45,6 +45,13 @@ Lastly you can use a container:
|
||||||
$ sudo podman run --privileged ghcr.io/osbuild/image-builder-cli
|
$ 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
|
## Compilation
|
||||||
|
|
||||||
You can compile the application in `cmd/image-builder` with
|
You can compile the application in `cmd/image-builder` with
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue