Skip to content

Instantly share code, notes, and snippets.

View hardikdabhi's full-sized avatar
🙃
Coding!!

Hardik Dabhi hardikdabhi

🙃
Coding!!
View GitHub Profile

Modifying an Existing Docker Image

To install a custom package or modify an existing docker image we need to

  1. run a docker a container from the image we wish to modify
  2. modify the docker container
  3. commit the changes to the container as a docker image
  4. test changes made to image

1.) Running a docker container from an image