Jump to content
XPEnology Community

marc_all

Rookie
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

marc_all's Achievements

Newbie

Newbie (1/7)

1

Reputation

  1. Hello, Are you sure about the disksize "4096G"? (it is 4 To) You create the image file on /opt/dsm (see in the volumes part). The /opt dir is in the virtual image from WSL2 (it should probably have a size of about a few GB and for backup reasons it is probably better on another drive or in /mnt/C but not in the virtual disk (virtual disk in a virtual disk seems odd). Personally I have put (see my port is page 3) to have it on a real disk and I have no problem. volumes: - /mnt/d/DSM:/storage
  2. Hello, Personally I have installed Docker on WSL2 and I simply start bash (as in a linux distro) (I used this tutorial to make the installation) https://nickjanetakis.com/blog/install-docker-in-wsl-2-without-docker-desktop If you use docker desktop (without WSL2) From https://docs.docker.com/desktop/install/windows-install/ you should have an application Docker Desktop (but I have never used it so I have no idea) For your question with (and so on) you must create a file docker-compose.yml (in a directory) with the example you had After that you do the command docker-compose up (if all is fine after the test you add -d to make a daemon) Please pay attention there is only one file docker-compose per directory. Personally I make a directory Compose and inside it one diurectory per container (dsm, caddy, portainer...) I hope it helped
  3. Hello, Thank you for the time to help. It works locally so it seems to be a problem with the bridging (using IP:5000 didn't work) I have made a lot of tests, killed my network but finally I saw this web site (It didn't use the macvlan) https://jwstanly.com/blog/article/Port+Forwarding+WSL+2+to+Your+LAN/ With netsh interface portproxy add v4tov4 listenport=5000 listenaddress=0.0.0.0 connectport=5000 connectaddress=172.29.253.62 And I saw it working perfectly. I am not sure what made it work exactly But here are my rules (in cvase someone needs it in the future). I will do other tests to try to understand all but it seems possible. Thanks again Adresse Port Adresse Port --------------- ---------- --------------- ---------- 0.0.0.0 5001 172.29.253.62 5001 192.168.1.187 5000 172.29.253.62 5000 192.168.1.187 5001 172.29.253.62 5001 172.17.0.1 5000 172.29.253.62 5000 172.17.0.1 5001 172.29.253.62 5001 172.29.253.62 5000 172.29.253.62 5000 172.29.253.62 5001 172.29.253.62 5001 * 5000 localhost 5000 0.0.0.0 80 172.29.253.62 80 0.0.0.0 443 172.29.253.62 443 0.0.0.0 10000 172.29.253.62 10000 0.0.0.0 3000 172.29.253.62 3000 0.0.0.0 5000 172.29.253.62 5000
  4. Hello, I have tried to install virtualDSM in WSL2 (Win 11) and it is working with your method but the other computers in the network can't see the virtual dsm. So I have tried to have an external IP sudo docker network create -d macvlan --subnet=192.168.1.0/24 --gateway=192.168.1.1 --ip-range=192.168.1.70/28 -o parent=eth0 vdsm And after that (for the docker-compose) ---------------------------------------------------------------- version: "3" services: dsm: container_name: dsm image: kroese/virtual-dsm:latest environment: CPU_CORES: "2" DISK_SIZE: "128G" RAM_SIZE: "4096M" networks: vdsm: ipv4_address: 192.168.1.70 devices: - /dev/kvm cap_add: - NET_ADMIN ports: - 5000:5000 volumes: - /mnt/d/DSM:/storage restart: always stop_grace_period: 1m networks: vdsm: external: true ------------------------------------------------------------------- And I have this error message dsm | ❯ ERROR: Failed to download https://global.synologydownload.com/download/DSM/release/7.0.1/42218/DSM_VirtualDSM_42218.pat, reason: 6 dsm | ❯ Starting Virtual DSM for Docker v4.10... dsm | ❯ Install: Downloading installer... If I add the environment DHCP and - /dev/vhost-net and device_cgroup_rules: - 'c 236:* rwm' I have an error Unsupported config option for services.dsm: 'device_cgroup_rules' Can you please tell me what I do wrong? Thank you very much
×
×
  • Create New...