Book Image

Developing with Docker

By : Jaroslaw Krochmalski, Jarosław Krochmalski
Book Image

Developing with Docker

By: Jaroslaw Krochmalski, Jarosław Krochmalski

Overview of this book

This fast-paced practical guide will get you up and running with Docker. Using Docker, you will be able to build, ship, and run many distributed applications in real time. You will start with quickly installing Docker and start working with images and containers. We will present different types of containers and their applications, and show you how to find and build images. You will learn how you can contribute to the image repository by publishing different images. This will familiarize you with the image building process and you will be able to successfully run your programs within containers. By finishing this book, you will be well equipped in deploying your applications using Docker and will have a clear understanding of concepts, techniques, and practical methods to get it running in production systems.
Table of Contents (16 chapters)
Developing with Docker
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Webhooks and automated builds


As you may recall from Chapter 5, Finding Images, one of the coolest Docker Hub features are the automated builds. An automated build is triggered by webhooks when changes are made to a source code of the image (that is, to Dockerfile). Webhooks let you execute different actions after pushing an image to a repository. Automated Builds repository automate the building and updating of images from the most popular git repositories, namely GitHuborBitbucket, directly on Docker Hub. Automated builds repository can be created either for private or public repositories. It works by adding a commit hook to your selected GitHub or Bitbucket repository; thus, triggering a build and update when you push a commit. Automated Builds repository have several advantages, images built this way are built exactly as specified, the Dockerfile is available to anyone with access to your Docker Hub repository, and your Docker repository is automatically always up-to-date with source...