I am preparing material for the upcoming JuliaEO2023 workshop, and would like to use WGLMakie on the docker image shared by @gaelforget. I understand that I need to map the port where Makie displays visualizations.
I tried mapping the port 8000 to the docker container with:
sudo docker run -p 8888:8888 -p 8000:8000 gaelforget/notebooks:latest
and then tried adding the following JSServe page to a fresh Pluto notebook:
port = parse(Int, get(ENV, "JS_SERVE_PORT", "8000")) using JSServe Page(listen_port = port)
When I import WGLMakie and try to plot, the visualization doesn’t display. An error message mentions that this is probably an issue with JSServe. The same notebook works fine on my host machine. Can anyone help with this? cc: @sdanisch @jules