Open gen973 opened 5 months ago
Within your command you specify two mount points:
docker run -it --device /dev/kvm -p 50922:10022 -v /tmp/.X11-unix:/tmp/.X11-unix
-e "DISPLAY=${DISPLAY:-:0.0}" -v /mnt/wslg/.X11-unix:/tmp/.X11-unix
-e GENERATE_UNIQUE=true -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' sickcodes/docker-osx:ventura
Delete the second -v /mnt/wslg/.X11-unix:/tmp/.X11-unix
and it should work.
Description
We are working with windows 11 and Docker Desktop and when I try to run Docker-OSX (https://github.com/sickcodes/Docker-OSX) I get the next error: docker: Error response from daemon: Duplicate mount point: /tmp/.X11-unix. I have tried differents solutions like Reset to Factory Defaults even I have tried to uninstall Docker Desktop, delete C:\Users\username\AppData\Local\Docker and C:\ProgramData\DockerDesktop folders and then reinstall Docker Desktop wirhout result. I want to know how to resolver this issue. Thank you in advance. Best regards.
Reproduce
docker run -it --device /dev/kvm -p 50922:10022 -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" -v /mnt/wslg/.X11-unix:/tmp/.X11-unix -e GENERATE_UNIQUE=true -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' sickcodes/docker-osx:ventura
Expected behavior
Run docker without errors
docker version
docker info
Diagnostics ID
C1987C64-B76E-4AE5-826F-5B072329CE31/20240112190937
Additional Info
No response