qemu
This commit is contained in:
parent
0427eeed2b
commit
02b26972ff
1 changed files with 4 additions and 3 deletions
|
@ -33,13 +33,14 @@ services:
|
||||||
image: kroese/docker-qemu:latest
|
image: kroese/docker-qemu:latest
|
||||||
environment:
|
environment:
|
||||||
DISK_SIZE: "16G"
|
DISK_SIZE: "16G"
|
||||||
|
BOOT: "https://ftp.halifax.rwth-aachen.de/osdn/clonezilla/78259/clonezilla-live-3.0.3-22-amd64.iso"
|
||||||
devices:
|
devices:
|
||||||
- /dev/kvm
|
- /dev/kvm
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
ports:
|
ports:
|
||||||
- 5000:5000
|
- 22:22
|
||||||
- 5001:5001
|
- 80:80
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
stop_grace_period: 60s
|
stop_grace_period: 60s
|
||||||
```
|
```
|
||||||
|
@ -47,7 +48,7 @@ services:
|
||||||
Via `docker run`
|
Via `docker run`
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -p 5000:5000 --device=/dev/kvm --cap-add NET_ADMIN --stop-timeout 60 kroese/docker-qemu:latest
|
docker run -p 22:22 --device=/dev/kvm --cap-add NET_ADMIN --stop-timeout 60 kroese/docker-qemu:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
|
|
Loading…
Reference in a new issue