docker has everything you need to create images and launch containers. You can create your own image by writing a Docker file or pulling it out of the docker hub.
In the Dockerfile, you specify another image as the basis for your image, run the install things command. Images can have tags, for example, an ubuntu image can have the last tag, or a 12.04 tag, which can be specified using the ubuntu:latest designation.
After you have built the image using docker build -t image-name . , you can create containers from this image with the name `docker run -name container_name_name.
docker ps to see running containers
docker rm <container name/id> to remove containers
Chris source share