Created
September 19, 2020 21:30
-
-
Save tcurvelo/96c5738da84ec7d6467b16578ab9bf3a to your computer and use it in GitHub Desktop.
Run container with Splash, Jupyter and GUI support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
xhost +local:docker | |
docker run \ | |
-e DISPLAY=unix$DISPLAY \ | |
-v /tmp/.X11-unix:/tmp/.X11-unix \ | |
-v $XAUTHORITY:$XAUTHORITY \ | |
-v $(pwd)/notebooks:/notebooks \ | |
-e XAUTHORITY=$XAUTHORITY \ | |
-p 8888:8888 \ | |
--rm \ | |
-it scrapinghub/splash-jupyter --disable-xvfb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment