I have a running docker container. I have done some useful works in the running docker container. I have done these works not part of dockerfile, i have done it inside the c
Create a base image and run it
docker run -it /bin/bash
Make necessary changes
yum install ping
Commit it with a new name
docker commit new_image
Now if you open new_image by running
docker run -it new_image /bin/bash
You can see ping
is installed in it.
Open base_image and there is no ping
installed in it.
Hope it answered your question.