Arc-V DSM Container
Go to file
2023-03-26 21:21:13 +02:00
.github Merge pull request #9 from joshkunz/renovate/docker-metadata-action-4.x 2022-05-24 22:25:09 -07:00
docker-compose.yml Create docker-compose.yml 2023-03-26 20:33:53 +02:00
Dockerfile Expose Synology DSM ports 2023-03-26 20:29:21 +02:00
generate-dhcpd-conf Ignore error when multiple interfaces are detected 2023-03-26 20:31:25 +02:00
qemu-ifdown Fully working implementation 2019-03-11 00:35:19 -07:00
qemu-ifup Fully working implementation 2019-03-11 00:35:19 -07:00
readme.md Update readme.md 2023-03-26 21:21:13 +02:00
run.sh Mount Synology images 2023-03-26 20:25:00 +02:00

virtual-dsm

Build Status Test gh_last_release_svg Docker Pulls Count

A docker container for running Synology's Virtual DSM.

Docker Hub: kroese/virtual-dsm

Prerequisites

In order to use the container, you need two images called boot.img and sys.img from Synology containing the Virtual DSM 7 OS.

Place them in the /home/user/images folder. A third empty image, called data.img will be automaticly generated with a size of 16GB. If you need more space for your DSM instance, you can manually generate a larger file by running truncate -s 100G data.img from your host OS.

Using the container

Via docker run:

$ docker run --rm -it \
    --device=/dev/kvm:/dev/kvm \
    --device=/dev/net/tun:/dev/net/tun \
    --cap-add NET_ADMIN \
    -p 5000:5000 -p 5001:5001 \
    -v /home/user/images:/image \
    kroese/virtual-dsm:latest

Via docker-compose.yml:

version: "3"
services:
    vm:
        image: kroese/virtual-dsm:latest
        cap_add:
            - NET_ADMIN
        devices:
            - /dev/kvm
            - /dev/net/tun
        ports:
            - 5000:5000
            - 5001:5001
        volumes:
            - /home/user/images:/image
        restart: always