Example of running a GUI application in a container and displaying it on the host. See the Dockerfile.
xhost +local:docker
docker run -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --rm -it deanturpin/xclock| Name | Name | Last commit date | ||
|---|---|---|---|---|
Example of running a GUI application in a container and displaying it on the host. See the Dockerfile.
xhost +local:docker
docker run -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --rm -it deanturpin/xclock