Giter Site home page Giter Site logo

docker-browsers's Introduction

Docker Browsers image

Docker image to work with Firefox and Chrome.

Table of Contents

Requirements

You have to install Docker following the installation steps (choose your OS).

Docker Build

There are two options to build the image:

1) Building the entire image

You can build the app from this directory running:

docker build -t agomezmoron/docker-browsers .

If you want to choose a custom Firefox version and/or defining the VNC password:

docker build --build-arg FIREFOX_VERSION=47.0.1 --build-arg VNC_PASSWD=1234 - -t agomezmoron/docker-browsers .

2) Pulling from Docker

You can pull the image from Docker:

docker pull agomezmoron/docker-browsers

Docker Run

Run the image with the following command:

docker run --privileged -v /YOUR/TESTS/FOLDER:/src -t -i agomezmoron/docker-browsers

or

docker run --privileged -v /YOUR/TESTS/FOLDER:/src -d -t -i agomezmoron/docker-browsers

Important: If you are running Docker on Windwos, please check you have the shared drives enabled:

Docker Stop

Once Docker is running our image, there is a way to stop it:

  • Execute docker ps and you will get the Container ID.
  • Then, execute docker kill CONTAINER_ID and the Docker image will be stoped.

Cleaning untagged images

If you want to clean all the untagged images you have in your Docker you can perform:

docker rmi -f $(docker images -f "dangling=true" -q) &> /dev/null

and it will detelete all the past images of the builds, so the PC does not end up with several duplicated images. It can be removed without affecting the build.

docker-browsers's People

Contributors

agomezmoron avatar

Forkers

ganeshk905

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.