mirror of
https://github.com/AuxXxilium/arv-v-dsm.git
synced 2024-11-23 23:10:58 +07:00
Arc-V DSM Container
.github | ||
serial | ||
build.sh | ||
docker-compose.yml | ||
Dockerfile | ||
generate-dhcpd-conf | ||
install.sh | ||
qemu-ifdown | ||
qemu-ifup | ||
readme.md | ||
run.sh | ||
server.sh |
virtual-dsm
A docker container of Synology DSM v7.2 using KVM.
Using the container
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
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