mirror of
https://github.com/AuxXxilium/arv-v-dsm.git
synced 2024-11-23 23:10:58 +07:00
Arc-V DSM Container
.github | ||
vdsm-serial | ||
docker-compose.yml | ||
Dockerfile | ||
generate-dhcpd-conf | ||
qemu-ifdown | ||
qemu-ifup | ||
readme.md | ||
run.sh | ||
server.sh |
virtual-dsm
A docker container that runs Synology's Virtual DSM v7.
Using the container
Via docker run
:
$ docker run --rm -it \
-p 5000:5000 \
--cap-add NET_ADMIN \
--cap-add SYS_ADMIN \
--device=/dev/kvm:/dev/kvm \
--device=/dev/fuse:/dev/fuse \
--device=/dev/net/tun:/dev/net/tun \
-v /home/user/images:/images \
kroese/virtual-dsm:latest
Via docker-compose.yml
:
version: "3"
services:
vm:
image: kroese/virtual-dsm:latest
cap_add:
- NET_ADMIN
- SYS_ADMIN
devices:
- /dev/kvm
- /dev/fuse
- /dev/net/tun
ports:
- 5000:5000
volumes:
- /home/user/images:/images
restart: always