QEMU for ARM in a Docker container.
dockerdocker-imagekvmkvm-hypervisorqemuqemu-armqemu-system-aarch64qemu-system-armvirtual-machinevirtualization
| .github | ||
| agent | ||
| serial | ||
| build.sh | ||
| disk.sh | ||
| docker-compose.yml | ||
| Dockerfile | ||
| install.sh | ||
| network.sh | ||
| power.sh | ||
| readme.md | ||
| run.sh | ||
| serial.sh | ||
| server.sh | ||
virtual-dsm
A docker container of Virtual DSM v7.2
Features
- Upgrades supported
- KVM acceleration (optional)
Platforms
- Linux x86-64
Usage
Via docker-compose.yml:
version: "3"
services:
vm:
container_name: dsm
image: kroese/virtual-dsm:latest
environment:
DISK_SIZE: "16G"
RAM_SIZE: "512M"
cap_add:
- NET_ADMIN
devices:
- /dev/kvm
- /dev/net/tun
ports:
- 80:5000
- 443:5001
- 5000:5000
- 5001:5001
restart: on-failure
Via docker run:
$ docker run --rm -it \
--name dsm \
-e DISK_SIZE=16G \
-e RAM_SIZE=512M \
-p 80:5000 \
-p 443:5001 \
-p 5000:5000 \
-p 5001:5001 \
--cap-add NET_ADMIN \
--device="/dev/kvm:/dev/kvm" \
--device="/dev/net/tun:/dev/net/tun" \
kroese/virtual-dsm:latest
FAQ
- How do I change the location of the virtual disk?
By default it resides inside a docker volume, but you can add a bind mount to your compose file like this:
volumes:
- /home/user/data:/storage
to map /storage to any local directory you want to use. Just replace /home/user/data with the path you want to use.