From 22a83e87d4c16576b1282d9aa3d405d3398fa2b3 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 21 Apr 2024 22:28:32 +0200 Subject: [PATCH] docs: Local file instructions --- readme.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 2f1f189..3377d29 100644 --- a/readme.md +++ b/readme.md @@ -103,7 +103,14 @@ docker run -it --rm --name qemu -e "BOOT=http://example.com/image.iso" -p 8006:8 * ### How do I boot a local image? - To skip the download, rename your image to `boot.iso` and place it in an empty `/storage` folder. + You can use a local file directly, and skip the download, by binding it in your compose file in this way: + + ```yaml + volumes: + - /home/user/example.iso:/storage/boot.iso + ``` + + Replace the example path `/home/user/example.iso` with the filename of the desired ISO file. * ### How do I assign an individual IP address to the container?