Skip to content
EDFbrowser in a Docker container.
Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
LICENSE
README.md

README.md

Docker Cloud Automated build Docker Cloud Build Status Docker Pulls

edfbrowser-docker

EDFbrowser in a Docker container.

Requirements

  • Docker
  • An X11 socket

Quickstart

Assuming that you are able to run docker commands without sudo, run below command from the directory ($PWD) which stores the EDF, EDF+, BDF or BDF+ files.

In the (dockerized) EDFbrowser, these datasets can be browsed from under /data directory.

docker run -ti --rm -e DISPLAY=$DISPLAY \
                    -v /tmp/.X11-unix:/tmp/.X11-unix \
                    -v $PWD:/data \
                    manishka/edfbrowser-docker:latest 

macOS

  • Install and run XQuartz
  • Open XQuartz -> Preferences menu
  • Go to Security tab, and check both
    • Authenticate connections
    • Allow connections from network clients
  • Restart XQuartz
docker run -ti --rm -e DISPLAY=host.docker.internal:0 \
                    -v /tmp/.X11-unix:/tmp/.X11-unix \
                    -v $PWD:/data \
                    manishka/edfbrowser-docker:latest 

Help! I started the container but I don't see the EDFbrowser screen

You might have an issue with the X11 socket permissions since the default user used by the base image has an user and group ids set to 1000, in that case you can run either create your own base image with the appropriate ids or run below command on your machine and try again.

xhost +
You can’t perform that action at this time.