Created
October 14, 2019 21:07
-
-
Save henriquegogo/dc9bf2b9ced07441ad86b20378fbccc8 to your computer and use it in GitHub Desktop.
Docker app
This file contains hidden or 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
# Create a docker image with env var DISPLAY=:0 | |
# Save this image with docker save > firefox.tar | |
# Create this shell script in the same folder of firefox.tar | |
BASEDIR=$(dirname $(readlink -f "$0")) | |
docker load < $BASEDIR/firefox.tar | |
docker run --rm --net host -v $BASEDIR:/home/user firefox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment