March 2017
Beginner to intermediate
925 pages
18h 11m
English
We can do something more interesting through a Dockerfile, such as creating a container that just runs Firefox. This kind of use case can help run multiple browsers of different versions on the same machine, which can be very helpful in doing multibrowser testing.
Clone the Fedora-Dockerfiles Git repo using the following command:
$ git clone https://github.com/nkhare/Fedora-Dockerfiles.git
Then, go to the firefox subdirectory.
$ cd Fedora-Dockerfiles/firefox $ cat Dockerfile FROM fedora MAINTAINER scollier <emailscottcollier@gmail.com> # Install the appropriate software RUN yum -y update && yum clean all RUN yum -y install x11vnc \ firefox xorg-x11-server-Xvfb \ xorg-x11-twm ...
Read now
Unlock full access