Arc-V DSM Container
Go to file
2023-03-30 20:05:36 +02:00
.github SHELLCHECK_OPTS: -e SC2086 2023-03-30 19:28:45 +02:00
serial Serial 2023-03-30 20:05:36 +02:00
build.sh Update build.sh 2023-03-30 19:59:42 +02:00
docker-compose.yml Update docker-compose.yml 2023-03-30 19:05:52 +02:00
Dockerfile Serial 2023-03-30 20:05:36 +02:00
generate-dhcpd-conf Ignore error when multiple interfaces are detected 2023-03-26 20:31:25 +02:00
install.sh Shellcheck suggestions 2023-03-30 19:57:10 +02:00
qemu-ifdown Shellcheck suggestions 2023-03-30 19:53:48 +02:00
qemu-ifup Fully working implementation 2019-03-11 00:35:19 -07:00
readme.md Shellcheck 2023-03-30 19:58:16 +02:00
run.sh Shellcheck suggestions 2023-03-30 19:53:48 +02:00
server.sh Fixes 2023-03-28 18:42:02 +02:00

virtual-dsm

build_img gh_last_release_svg Docker Image Size Docker Pulls Count

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