#make changes in docker container exit docker ps #list container and select and copy containerID docker diff <containerID> docker commit <containerID> <image_name>