HOW TO CREATE A CUSTOM DOCKER IMAGE?

WHY DO WE NEED A CUSTOM DOCKER IMAGE?

  1. Using the commit command
  2. Using the Dockerfile

USING COMMIT COMMAND

Disadvantages of Using Commit command for Creating a Custom Image

Using Dockerfile to Create a Custom Image

A Simple Example of Dockerfile

USING DOCKERHUB

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Priyanshu Bhatt

Priyanshu Bhatt

All About DevOps||CS Undergrad || I Share Crisp Tech Stories linkedin.com/in/priyanshubhatt