Use alpine in example

This commit is contained in:
Kroese 2023-07-19 23:11:53 +02:00 committed by GitHub
parent 8a46276825
commit 3963729b2b

View file

@ -30,7 +30,7 @@ services:
image: qemux/qemu-docker:latest image: qemux/qemu-docker:latest
environment: environment:
DISK_SIZE: "16G" DISK_SIZE: "16G"
BOOT: "http://www.example.com/image.iso" BOOT: "https://dl-cdn.alpinelinux.org/alpine/v3.18/releases/x86_64/alpine-standard-3.18.2-x86_64.iso"
devices: devices:
- /dev/kvm - /dev/kvm
- /dev/vhost-net - /dev/vhost-net
@ -56,7 +56,7 @@ docker run -it --rm -e "BOOT=http://www.example.com/image.iso" --device=/dev/kvm
```yaml ```yaml
environment: environment:
BOOT: "http://www.example.com/image.iso" BOOT: "https://dl-cdn.alpinelinux.org/alpine/v3.18/releases/x86_64/alpine-standard-3.18.2-x86_64.iso"
``` ```
It will be downloaded only once, during the initial run of the container. It will be downloaded only once, during the initial run of the container.