i have tested on ubuntu server 22.04.2 and it works fine.
i just have one question:
I don't have much experience with docker. I understood and created a macvlan network, but how exactly docker-compose file should be modified. Can you give me an example of how it should be passed in docker-compose because in the github page .. I read but I didn't understand
NEW: Virtual DSM in Docker
in DSM 7.x
Posted · Edited by frozendark
Great job for doing this
i have tested on ubuntu server 22.04.2 and it works fine.
i just have one question:
I don't have much experience with docker. I understood and created a macvlan network, but how exactly docker-compose file should be modified. Can you give me an example of how it should be passed in docker-compose because in the github page .. I read but I didn't understand
This is ok ?
services: dsm: container_name: dsm image: kroese/virtual-dsm:latest environment: CPU_CORES: "2" DISK_SIZE: "256G" ALLOCATE: "N" RAM_SIZE: "2048M" networks: vdsm: ipv4_address: 192.168.X.XX devices: - /dev/kvm - /dev/vhost-net cap_add: - NET_ADMIN ports: - 5000:5000 volumes: - /home/user/dsm/storage:/storage restart: on-failure stop_grace_period: 1m networks: vdsm: external: true
Thaks