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

Docker on Windows


Just as we have to install a Linux virtual machine when installing Docker in OS X, we have to do the same in Windows in order to run Docker because of the Linux kernel features that Docker builds on. OS X has a native Docker client that directly communicates with the Docker daemon inside the virtual machine, but there isn't one available for Windows yet. There is a native Windows version of the Docker client coming, but it will not be available by the time this book is published.

Installation

There is a Windows installer that installs everything we need in order to run Docker. For this, go to https://github.com/boot2docker/windows-installer/releases/latest.

Now, let's take a look at how the installation should be done with the help of the following steps:

  1. Click on the docker-install.exe button to download the .exe file, as shown in the following screenshot:

  2. When the download is complete, run the downloaded installer. Follow through the installation process, and you will get VirtualBox, msysGit, and boot2docker installed.

  3. Go to your Program Files folder and click on the newly installed boot2docker to start using Docker. If you are prompted to enter a passphrase, just press Enter.

  4. Type docker version to verify that you can use the Docker command.

Upgrading Docker on Windows

A new software changes often and to keep boot2docker updated, invoke these commands:

boot2docker stop
boot2docker download
boot2docker start