A docker image that supports rendering graphical applications. Originally forked from https://github.com/chanb/docker-opengl, which in turn was a fork of a fork of https://github.com/thewtex/docker-opengl.
  • Shell 49%
  • Dockerfile 24.9%
  • Python 18.9%
  • Makefile 7.2%
Find a file
2019-06-16 23:31:20 +09:00
etc Remove dependency of python2 2019-06-16 23:31:20 +09:00
example Remove dependency of python2 2019-06-16 23:31:20 +09:00
usr/bin Remove dependency of python2 2019-06-16 23:31:20 +09:00
Dockerfile Remove dependency of python2 2019-06-16 23:31:20 +09:00
LICENSE Initial commit. 2015-10-28 13:06:08 -04:00
Makefile Update for ubuntu 16.04 2018-01-27 18:24:38 +09:00
README.rst Add -e VNC_PW option 2018-12-24 00:20:08 +09:00
run.sh fix noVnc top page. 2018-10-13 17:39:06 +09:00

docker-opengl
=============
A docker image that supports rendering graphical applications, including OpenGL apps.

Overview
--------

This Docker image supports portable, GPU and CPU-based graphical application
rendering, including rendering OpenGL-based applications. An X session is
running on display `:0` and can be viewed through HTML5 viewer on any device
with a modern web browser (Mac OSX, Windows, Linux, Android, iOS, ChromeOS,
...). It can be used to expose a graphical interface from a Docker container
or to run continuous integration tests that require a graphical environment.

This docker image is forked from https://github.com/thewtex/docker-opengl

Quick-start
-----------

```
$ docker run --runtime=nvidia -it -p 6080:6080 ikeyasu/opengl:cuda9.0-cudnn7-devel-ubuntu16.04
```

If you want to use password for VNC server, please specify VNC_PW environment variable.

```
$ docker run --runtime=nvidia -it -p 6080:6080 -e VNC_PW=your-password ikeyasu/opengl:cuda9.0-cudnn7-devel-ubuntu16.04
```

Credits
-------

This docker image is based on https://github.com/thewtex/docker-opengl .
This configuration was largely inspired by the `dit4c project <https://dit4c.github.io>`_.