From 3cabb30ff81728cf6ffed5b325104376d5667ce0 Mon Sep 17 00:00:00 2001 From: Simon de Vlieger Date: Wed, 25 Jun 2025 09:02:14 +0200 Subject: [PATCH] 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 --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index ace013c..4a798b0 100644 --- a/README.md +++ b/README.md @@ -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