Docker commit | to save the changes made in the container as a new image

preview_player
Показать описание
It can be useful to commit a container’s file changes or settings into a new image.

docker commit [OPTIONS] CONTAINER [REPOSITORY[:TAG]]
Рекомендации по теме
Комментарии
Автор

The verification of the changes in the new image is Wrong.

You did "docker exec -it c1305... sh" which is the old container and it should've been the new container "112ff..."

rammstein