There’s incredible interest in Docker right now. Most people use an image from the Docker Hub, but sometimes you have to create your own Docker container to meet your needs. This is especially true in networking, since there aren’t many specialized images for network functions in the Hub yet.
Calin Chiorean wrote up a great guide over on his blog, introducing Docker and creating a Dockerfile. Read more at: How to create your own Docker image