Arc-V DSM Container
Go to file
2023-04-03 22:32:58 +02:00
.github Update hub.yml 2023-04-03 18:08:27 +02:00
agent Agent 2023-04-02 23:33:58 +02:00
serial Refactor 2023-04-02 21:43:28 +02:00
build.sh Create TUN device dynamicly 2023-04-03 21:24:03 +02:00
disk.sh machine type=q35 2023-04-03 13:30:19 +02:00
docker-compose.yml Create TUN device dynamicly 2023-04-03 21:24:03 +02:00
Dockerfile TUN interface 2023-04-03 22:21:14 +02:00
install.sh Serial 2023-04-02 22:38:36 +02:00
network.sh TUN interface 2023-04-03 22:21:14 +02:00
power.sh Shellchecks 2023-04-02 22:53:06 +02:00
readme.md Update readme.md 2023-04-03 22:32:58 +02:00
run.sh machine type=q35 2023-04-03 13:30:19 +02:00
serial.sh machine type=q35 2023-04-03 13:30:19 +02:00
server.sh Update server.sh 2023-04-01 22:55:07 +02:00

virtual-dsm

build_img gh_last_release_svg Docker Image Size Docker Pulls Count

A docker container of Virtual DSM v7.2

Features

  • Upgrades supported
  • KVM acceleration (optional)

Platforms

  • Linux x86-64
  • Windows 10/11
  • MacOS (untested)

Usage

Via docker-compose.yml:

version: "3"
services:
    vm:
        container_name: dsm
        image: kroese/virtual-dsm:latest
        environment:
            DISK_SIZE: "16G"
            RAM_SIZE: "512M"
        devices:
            - /dev/kvm
        cap_add:
            - NET_ADMIN                       
        ports:
            - 80:5000
            - 443:5001
            - 5000:5000
            - 5001:5001
        restart: on-failure

Via docker run:

$ docker run --rm -it -p 5000:5000 --cap-add NET_ADMIN --device="/dev/kvm:/dev/kvm" kroese/virtual-dsm:latest

FAQ

  • How do I change the size of the virtual disk?

    By default it is 16GB, but you can modify the DISK_SIZE setting in your compose file:

    environment:
        DISK_SIZE: "16G"
    

    To create an empty disk with a maximum capacity of 8 terabyte you would use a value of "8T" for example.

  • How do I change the location of the virtual disk?

    By default it resides inside a docker volume, but you can add these lines to your compose file:

    volumes:
        - /home/user/data:/storage
    

    Just replace /home/user/data with the path to the folder you want to use for storage.

  • How do I install a specific version of vDSM?

    By default it installs vDSM 7.2, but if you want to use an older version you can add its URL to your compose file:

    environment:
        URL: "https://global.synologydownload.com/download/DSM/release/7.0.1/42218/DSM_VirtualDSM_42218.pat"
    

    You can also switch back and forth between versions this way without loosing your file data.

  • What are the differences compared to standard DSM?

    There are only two minor differences: the Virtual Machine Manager package is not available and Surveillance Station does not include any free licenses.