Although there are many premade images available on the Docker registry, it is inevitable that you will want to create your own images as the basis for your containers. One of the standout features of Docker is its straightforward build tools, and you can easily create new images with a simple text file.
In this recipe, you will learn how to use Docker to package the Gollum Wiki software and push it to the Docker public repository.
For this recipe, you will need a server with Docker installed.
The following steps outline how to create a new Dockerfile, build it, and finally push it to the Docker Registry: