docs: Local file instructions

This commit is contained in:
Kroese 2024-04-21 22:28:32 +02:00 committed by GitHub
parent dc12d96817
commit 22a83e87d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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?