27
24

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Docker で X11 アプリを動かす.

Posted at

漢なら docker コンテナで X11 アプリを sandbox 実行したいですね!
X11 アプリを動かしてみましょう.

firefox のサンプルがあるのでこれを pull してみます.

$ sudo docker pull creack/firefox-vnc

コンテナ内で 5900 ポートに VNC が張られます(パスワードは 1234) ので, ホストにも port を expose して docker run します.

$ sudo docker run -p 5900:5900 creack/firefox-vnc

vncviwer で繋いでみます.

$ vncviewer localhost:0

docker-x11vnc.png

Cool!

Todo

  • NV/AMD の proprietary driver を使って OpenGL が HW(GPU) で動くようにする(GLX 拡張)
27
24
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
27
24

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?