Introduction to Docker
This chapter introduces the basic concepts and terminology of Docker. You`ll also learn about different scheduler frameworks.
The main benefit of the Java programming language is Write Once Run Anywhere, or WORA, as shown in Figure . This allows Java source code to be compiled to byte code and run on any operating system where a Java virtual machine is
Java provides a common API, runtime, and tooling that works across multiple hosts.
Your Java application typically
requires an infrastructure such as a specific version of operating system, an
application server, JDK, and a database server. It may need binding to specific ports and requires a certain
amount of memory
Typically, building, deploying, and running an application requires a script that will download, install, and configure these dependencies. Docker simplifies this process by allowing you to create an image that contains your application and infrastructure together, managed as one component. These images are then used to create Docker containers that run on the container virtualization platform, which is provided by Docker.
Docker simplifies software delivery by making it easy to build, ship, and run distributed applications. It provides a common runtime API, image format, and toolset for building, shipping, and running containers on Linux. At the time of writing, there is no native sup‐ port for Docker on Windows and OS X.
allows a Docker image to be created once and deployed on a variety of operating
sys‐ tems where Docker virtualization is available