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

Read more