Actualizacion README.md
This commit is contained in:
parent
8c65f14b08
commit
be832841f3
1 changed files with 5 additions and 3 deletions
|
@ -5,21 +5,23 @@
|
||||||
|
|
||||||
docker build --tag firefox:$(grep 'VERSION' Dockerfile |awk '{print $3}') .
|
docker build --tag firefox:$(grep 'VERSION' Dockerfile |awk '{print $3}') .
|
||||||
|
|
||||||
Re-Tag image:
|
**RE-TAG IMAGE**
|
||||||
|
|
||||||
docker tag firefox:$(grep 'VERSION' Dockerfile |awk '{print $3}') firefox:latest
|
docker tag firefox:$(grep 'VERSION' Dockerfile |awk '{print $3}') firefox:latest
|
||||||
|
|
||||||
**LAUNCH FIREFOX**
|
**LAUNCH FIREFOX**
|
||||||
|
|
||||||
To launch Firefox from the container run the command:
|
To launch Firefox from the container run the command
|
||||||
~~~
|
|
||||||
|
|
||||||
RUN from local image (your build):
|
RUN from local image (your build):
|
||||||
|
|
||||||
|
~~~
|
||||||
docker run -ti --rm -e DISPLAY=$DISPLAY.0 -v /tmp/.X11-unix:/tmp/.X11-unix firefox:latest
|
docker run -ti --rm -e DISPLAY=$DISPLAY.0 -v /tmp/.X11-unix:/tmp/.X11-unix firefox:latest
|
||||||
|
~~~
|
||||||
|
|
||||||
RUN from my image (my build):
|
RUN from my image (my build):
|
||||||
|
|
||||||
|
~~~
|
||||||
docker run -ti --rm -e DISPLAY=$DISPLAY.0 -v /tmp/.X11-unix:/tmp/.X11-unix luisgutierrez/firefox:latest
|
docker run -ti --rm -e DISPLAY=$DISPLAY.0 -v /tmp/.X11-unix:/tmp/.X11-unix luisgutierrez/firefox:latest
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue