What is erlide?
Erlide is an IDE for Erlang, powered by Eclipse. See http://erlide.org/
docker build -t sejnub/erlide .
docker run -d -e DISPLAY --name erlide -v /tmp/.X11-unix:/tmp/.X11-unix sejnub/erlide
You might want to use an additional volume for your workspace.
docker run -d -e DISPLAY --name erlide -v ~/erlide-workspace:/root/workspace -v /tmp/.X11-unix:/tmp/.X11-unix sejnub/erlide
If the container exits immediately you may have to disable xhost access control for local connections.
If the container runs remotely you could disable xhost access control for all connections.
Keep in mind that this will disable xserver access control! Use this only during development.
To open a bash into the running container you can type
docker exec -it erlide bash
or since you have an xserver running
uxterm -e "docker exec -it erlide bash" &
|Erlang Base Image||19.0.3||Docker Hub|
|Eclipse IDE (Java Edition)||Neon||eclipse.org|