-
Notifications
You must be signed in to change notification settings - Fork 13
docker_graphics_linux
Colley JM edited this page Aug 21, 2023
·
10 revisions
--net=host -e="DISPLAY" -v="$HOME/.Xauthority:/root/.Xauthority:rw"
Tested on :
- ubuntu 20.04
Failed for :
- ubuntu 18.04
Reference:
Do before docker run
xhost +
options for docker run
-e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix
Do after docker run
xhost -
Tested on :
- ubuntu 20.04
- ubuntu 18.04
python -m tkinter
Reference: