본문 바로가기

개발 관련 이야기/그밖에 개발

How to run GUI app on Docker

How to run GUI app on Docker

$ curl -fsSL https://get.docker.com/ | sh

$ sudo service docker start

$ xauth list

$ sudo docker run -i -t --net=host -e DISPLAY -v /tmp/.X11-unix ubuntu bash Inside container:

$ apt-get install firefox

$ apt-get install xauth

$ xauth add ...

 

https://www.youtube.com/watch?v=RDg6TRwiPtg&list=WL&index=44