O'Reilly logo

TypeScript Microservices by Parth Ghiya

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Docker concepts

Now that we have understood the core Docker processes, let's move on to understanding various concepts involved in Docker. These concepts will make our lives easy to write Docker files and create our own microservice container image:

  • Docker image: A Docker image is just a snapshot of the components that make up Docker's business capability. It is a read-only copy of OS libraries, applications, and its dependencies. Once an image is created it will run on any Docker platform without any problems. For example, a Docker image for our microservice would contain all components required to fulfill the business capability achieved by that microservice. In our case, web server (NGINX), Node.js, PM2, and database (NoSQL or SQL) are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required