Book Image

Build Your Own PaaS with Docker

By : Oskar Hane
Book Image

Build Your Own PaaS with Docker

By: Oskar Hane

Overview of this book

<p>Docker is a great tool in many ways for developers and people in DevOps.</p> <p>We begin by learning how easy it is to create and publish your own customized Docker images and making them available to everyone. We also see how practical it is to separate every service to its own container. When you have published separated service containers, the process of running all kinds of platforms in the same server for easier cloud computing is a walk in the park.</p> <p>This book walks you through a use case project that will teach you how to customize and create your own Docker image, allowing you to run any platform you want. The project evolves throughout the book and emerges as a complete three containers Wordpress/MySQL platform when finished.</p> <p>By the end of the book, you will know how to create such a container on a Wordpress/MySQL platform, among others.</p>
Table of Contents (15 chapters)
Build Your Own PaaS with Docker
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


The Docker image can be seen as a read-only template for containers, specifying what's supposed to be installed, copied, configured, and exposed when a container is started.

We learned more about how we can interact with the Docker daemon and with individual Docker containers to read logs, copy files, and export the complete filesystem.

The Docker hub was introduced and we looked at what the official WordPress Docker image consisted of and how they configured the OS in the Dockerfile as well as in an ENTRYPOINT file to some extent.

We downloaded and ran the WordPress image that failed as expected, and we fixed it by linking the required MySQL container to it.

In the next chapter, we will create a Dockerfile and publish a Docker image to the Docker registry hub so that we have a way to get our customized Docker images to wherever we decide to place our PaaS.