Docker for Java Developers
Package, Deploy, and Scale with Ease


Book Details
Author | Arun Gupta |
Publisher | O'Reilly Media |
Published | 2016 |
Edition | 1st |
Paperback | 89 pages |
Language | English |
ISBN-13 | 9781491974421 |
ISBN-10 | 1491974427 |
License | Compliments of Nginx |
Book Description
There are efforts like the Open Container Initiative (OCI) that aim to create an industry standard around container formats and runtime. Docker is the first container implementation based on OCI specifications, and is unarguably the most popular container format. Docker nicely complements the Java programming model by allowing you to package your application, including libraries, dependencies, and configuration, as a single artifact. The unit of deployment becomes a Docker image as opposed to a .war or .jar file. Different components of an application such as an application server, database, or web server can be started as separate containers. All of these containers can then be connected to each other using orchestration frameworks. The entire setup can then be deployed in a variety of operating systems and run as containers.
This book is targeted toward developers who are interested in learning the basic concepts of Docker and commonly used orchestration frameworks around them. The first chapter introduces the basic concepts and terminology of Docker. The second chapter explains, using code samples, how to build and run your first Docker container using Java. The third chapter explains how support for Docker is available in popular developer toolchains. The fourth chapter is a quick summary. The examples in this book use the Java programming language, but the concepts are applicable for anybody interested in getting started with Docker.
This book is published as open-access, which means it is freely available to read, download, and share without restrictions.
If you enjoyed the book and would like to support the author, you can purchase a printed copy (hardcover or paperback) from official retailers.