Open dlintw opened 4 years ago
I can reproduce this using the Julia 1.3 image.
docker run --rm -it julia:1.4
# At container prompt
apt update && apt install -y unzip xvfb
julia -e 'using Pkg; Pkg.add("Blink")'
julia -e 'using Blink; w = Window()'
Hi, I had a similar problem and I found the following workaround: you can open a window in your browser, similar to what people do for reading a jupyter notebook from docker.
First, start docker with
docker run --rm -it -p 8700:8700 julia:1.4
then in the Julia prompt, start the server as follows:
using Sockets
using MeshCat
vis = Visualizer(MeshCat.CoreVisualizer(ip"0.0.0.0", 8700), ["meshcat"])
you should be able to reach the url at http://localhost:8700/
I'm runing Arch Linux with these packages installed
In command line shell, I could run electron by 'electron --no-sandbox', here is the command for launch julia
In the julia, I type in these command
Still got the following error messages