Build Your Own PaaS with Docker

Create, modify, and run your own PaaS with modularized containers using Docker

Build Your Own PaaS with Docker

This ebook is included in a Mapt subscription
Oskar Hane

2 customer reviews
Create, modify, and run your own PaaS with modularized containers using Docker
$0.00
$23.99
$29.99
$29.99p/m after trial
RRP $23.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781784393946
Paperback138 pages

Book Description

Docker is a great tool in many ways for developers and people in DevOps.

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.

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.

By the end of the book, you will know how to create such a container on a Wordpress/MySQL platform, among others.

Table of Contents

Chapter 1: Installing Docker
What is Docker?
Docker on Ubuntu Trusty 14.04 LTS
Docker on Mac OS X
Docker on Windows
Docker on Amazon EC2
Summary
Chapter 2: Exploring Docker
The Docker image
The Docker container
The Docker command-line interface
The Docker Registry Hub
Summary
Chapter 3: Creating Our First PaaS Image
The WordPress image
Moving from the defaults
Our objective
Making our changes persist
Hosting image sources on GitHub
Publishing an image on the Docker Registry Hub
Summary
Chapter 4: Giving Containers Data and Parameters
Data volumes
Creating a data volume images
Hosting on GitHub
Publishing on the Docker Registry Hub
Running a data volume container
Passing parameters to containers
Creating a parameterized image
Summary
Chapter 5: Connecting Containers
Manually connecting containers
Exploring the contents of a data volume container
Connecting containers using Docker Compose
Connecting containers using Crane
Summary
Chapter 6: Reverse Proxy Requests
Explaining the problem
Finding a solution
Implementing the solution
Automating the process of mapping domains
Summary
Chapter 7: Deployment on Our PaaS
The problem with our current setup
The tools/services available
Dokku – Docker-powered mini-Heroku
Setting up a WordPress app with Dokku
Summary
Chapter 8: What's Next?
What is a Twelve-Factor app?
Flynn
Deis
Rocket
Orchestration tools
Summary

What You Will Learn

  • Create your own custom Docker images to fit your needs
  • Host your Docker repositories on GitHub and publicly publish them on Docker Registry Hub
  • Separate data from services using data volume containers
  • Install Docker on any platform including Amazon EC 2
  • Pass parameters to your containers when they start, to load different configurations
  • Export and back up data from shared data volume containers
  • Reverse proxy traffic to the right container using Nginx

Authors

Table of Contents

Chapter 1: Installing Docker
What is Docker?
Docker on Ubuntu Trusty 14.04 LTS
Docker on Mac OS X
Docker on Windows
Docker on Amazon EC2
Summary
Chapter 2: Exploring Docker
The Docker image
The Docker container
The Docker command-line interface
The Docker Registry Hub
Summary
Chapter 3: Creating Our First PaaS Image
The WordPress image
Moving from the defaults
Our objective
Making our changes persist
Hosting image sources on GitHub
Publishing an image on the Docker Registry Hub
Summary
Chapter 4: Giving Containers Data and Parameters
Data volumes
Creating a data volume images
Hosting on GitHub
Publishing on the Docker Registry Hub
Running a data volume container
Passing parameters to containers
Creating a parameterized image
Summary
Chapter 5: Connecting Containers
Manually connecting containers
Exploring the contents of a data volume container
Connecting containers using Docker Compose
Connecting containers using Crane
Summary
Chapter 6: Reverse Proxy Requests
Explaining the problem
Finding a solution
Implementing the solution
Automating the process of mapping domains
Summary
Chapter 7: Deployment on Our PaaS
The problem with our current setup
The tools/services available
Dokku – Docker-powered mini-Heroku
Setting up a WordPress app with Dokku
Summary
Chapter 8: What's Next?
What is a Twelve-Factor app?
Flynn
Deis
Rocket
Orchestration tools
Summary

Book Details

ISBN 139781784393946
Paperback138 pages
Read More
From 2 reviews

Read More Reviews