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

Finding a solution


Before we head to the solution, let me explain what a regular proxy server is, in case you're not familiar with it.

A proxy server is a server that connects to services on your behalf and forwards all the results to you. After you've set up to route all your traffic through the proxy server, you—as a user—won't notice it's there. Everything will work as usual.

However, service owners only see that a certain machine (the proxy server) is connected to them. If another user uses the same proxy server and the same service as you do, the service owner can't tell the difference and will perceive you as one single user.

Different users connecting through a proxy server appear as one user.

As you can see in the preceding diagram, the service owners just see that someone with an IP of 213.12.12.3 has connected to them.

So, what if we use this on the Docker host? What if we put something in front of all the containers? Depending on which domain name is being requested, this thing will...