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

Chapter 9.  Using Docker in Development

After reading the past chapters, you should be able to pull a image and use it as the base for your own image. We already know how to create an image, attach volumes, expose ports, and run it in a container. We can also publish it into the Docker Hub for others to use. This is the last chapter in which we are going to cover some practical examples of how you can put Docker to use in your daily life as a developer. First of all, you will learn how to make Docker work with the most popular Java build system: Maven. Then we can put our applications into containers in practice; we will run Spring Boot Java application from inside a Docker container. Next, we will pack the Angular.js frontend application, which runs on Node.js in a Docker container. These examples should give you an idea and some inspiration on how you can create Docker containers with your own applications. In particular, we are going to cover the following topics in this chapter:

  • Using...