- X server install on windows (VcXsrv)
- Sample docker file build (firefox)
- Environment setup and launch (Powershell)
choco install vcxsrv
FROM ubuntu:20.04
RUN apt-get update && apt-get install -y firefox
CMD /usr/bin/firefox
docker build -t jgwill/x__remoting_in_docker__20110922 .
- run (WinK + r) Xlaunch
- Next, Next until you see settings with : "Disable access control" which you click
set-variable -name myip -value 192.168.1.76
set-variable -name DISPLAY -value $myip:0.0
docker run -ti --rm -e DISPLAY=$DISPLAY jgwill/x__remoting_in_docker__20110922
https://www.docker.com/blog/how-to-deploy-on-remote-docker-hosts-with-docker-compose/