and start the docker service.
Once this has been done prepare a directory structure, where we will organise our Dockerfiles for each image:
Create a new directory containing a file named 'Dockerfile' for the image you wish to edit then cd to this directory edit the Docker file and once ready build the image:
# docker build -t [yourtag]
You can start the Docker image exposing ports, to example, check the output of HTTP pages by mappng a port eg:
# docker run -i -i [yourtag] -p 8080:80 /bin/bash
If you were to start apache (inside the container) on port 80, then you should be able to view the web pages via http://localhost:8080/