Created
February 1, 2021 02:56
-
-
Save BoredHackerBlog/429e1764d446042ce8f1c2aa0ccf93c0 to your computer and use it in GitHub Desktop.
docker firefox container
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
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