A bare bones ubuntu / cucumber /selenium image so that you can just add your tests and get running
- as root run:- # systemctl start docker to start the docker service
Once done then you might want the following:
- List built images - # docker image ls
- Run image - # docker run <-image-name->
- Run images with args - # docker run -i <-image-name-> <- arg -> (i stands for interactive mode so if you don't give it an argument then will fire you into a virtual shell session on the docker image)
- Run images with args and color terminal output # docker run -it <-image-name-> <- arg ->
- Run images with output piped to console e.g. # docker run -it <-image-name-> cucumber --format html > myhtml.html
- Navigate to the dir with the dockerfile in and run # docker build .
- Build with a name # docker build <-image-name-> . - (hint remember the '.')