Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 709 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 709 Bytes

dockerbuilder-pmd

Repo for building docker images for the BAM PMD server in Github actions

Setup guide for gui applications following jupyterhub-deploy-docker

docker-compose.yml: Set DISPLAY env variable in the jupyterhub server

services:
   ...
   environment:
      ...
      DISPLAY: $(DISPLAY)
   ...

jupyterhub_config.yml: Bind X11 directory in each user-container using Dockerspawner config and pass the Display variable

...
c.DockerSpawner.volumes = {
   ...
   "/tmp/.X11-unix": "/tmp/.X11-unix"
}

c.DockerSpawner.environment = {
   "DISPLAY": os.environ["DISPLAY"],
   "QT_X11_NO_MITSHM": "1"
}