X11 forwarding doesn’t work when image runs in docker machine but it works fine if the image is run w/o a docker machine
问题 I have a docker container based on debian and it works when I run it like, “docker run -ti --name devworkstation --rm --net=host -v /var/run/docker.sock:/var/run/docker.sock -e DISPLAY=$env:DISPLAY xxxx/xxxx:devworkstation” By works, I mean that the bash command prompt comes up and when I run xeyes, I see the window on my windows 10 computer as I expect. (x11 forwarding works.) ($env:DISPLAY = “myWinIP:0.0”) I then created a new external virtual switch named, “dockerExternalSwitch,” and a