firefox-docker/README.md

29 lines
687 B
Markdown
Raw Normal View History

2021-03-12 02:51:45 +01:00
# firefox-docker
**BUILD IMAGE**
docker build --tag firefox:$(grep 'VERSION' Dockerfile |awk '{print $3}') .
Re-Tag image:
docker tag firefox:$(grep 'VERSION' Dockerfile |awk '{print $3}') firefox:latest
2021-03-12 02:51:45 +01:00
**LAUNCH FIREFOX**
To launch Firefox from the container run the command:
~~~
RUN from local image (your build):
docker run -ti --rm -e DISPLAY=$DISPLAY.0 -v /tmp/.X11-unix:/tmp/.X11-unix firefox:latest
RUN from my image (my build):
docker run -ti --rm -e DISPLAY=$DISPLAY.0 -v /tmp/.X11-unix:/tmp/.X11-unix luisgutierrez/firefox:latest
2021-03-12 02:51:45 +01:00
~~~
It is not necessary to invoke Firefox, it is launched automatically when executing the container
2021-03-13 16:43:13 +01:00
Luisgulo (soloconlinux.org.es)