Skip to content

Instantly share code, notes, and snippets.

@BoredHackerBlog
Created February 1, 2021 02:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BoredHackerBlog/429e1764d446042ce8f1c2aa0ccf93c0 to your computer and use it in GitHub Desktop.
Save BoredHackerBlog/429e1764d446042ce8f1c2aa0ccf93c0 to your computer and use it in GitHub Desktop.
docker firefox container
while true; do
docker stop firefox;
docker rm firefox;
docker run -d --name=firefox -p 5800:5800 -v /dev/shm:/dev/shm --privileged -e KEEP_APP_RUNNING=1 -e VNC_PASSWORD=passwd -e DISPLAY_WIDTH=1900 -e DISPLAY_HEIGHT=900 jlesage/firefox;
sleep 300;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment