Firefox en un contenedor
Find a file
2023-06-06 08:42:47 +02:00
config empty default profile and cache for firefox 2021-03-12 02:50:12 +01:00
Dockerfile Actualizacion procedimiento compilacion 2023-06-06 08:42:47 +02:00
README.md Actualizacion procedimiento compilacion 2023-06-06 08:42:47 +02: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

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

It is not necessary to invoke Firefox, it is launched automatically when executing the container

Luisgulo (soloconlinux.org.es)