如何使用Docker运行GUI应用程序的示例

网友投稿 692 2022-10-22

如何使用Docker运行GUI应用程序的示例

如何使用Docker运行GUI应用程序的示例

GUI Apps in Docker

An example of how to run GUI apps in Docker using X forwarding.

What you need to know

To try it, clone and run bin/demo xeyes (Requires Docker and you must be using Xorg display server).The relevant files for understanding how X forwarding is achieved are Dockerfile, entrypoint.sh, and bin/demo.The .tasks folder is used for a build and release pipeline with Travis CI. Ignore this folder unless you want to learn about creating CI/CD pipelines with Docker.

Known Limitation

Your working directory must be inside the host user's home directory. Running outside in a directory higher than that will result in failure.

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:mybatis的if判断integer问题
下一篇:CliSpinners一个命令行应用程序的旋转动画
相关文章

 发表评论

暂时没有评论,来抢沙发吧~