Can you run GUI applications in a Docker container?

前端 未结 22 2504
南旧
南旧 2020-11-22 06:12

How can you run GUI applications in a Docker container?

Are there any images that set up vncserver or something so that you can - for example - add an e

22条回答
  •  情话喂你
    2020-11-22 06:36

    You can also use subuser: https://github.com/timthelion/subuser

    This allows you to package many gui apps in docker. Firefox and emacs have been tested so far. With firefox, webGL doesn't work though. Chromium doesn't work at all.

    EDIT: Sound works!

    EDIT2: In the time since I first posted this, subuser has progressed greatly. I now have a website up subuser.org, and a new security model for connecting to X11 via XPRA bridging.

提交回复
热议问题