DockerCommand
Save a Container as an Image
Type this command
docker commit CONTAINER IMAGETurns the current state of a container into a new image.
The Docker command to save a container as an image is docker commit CONTAINER IMAGE.
docker commit CONTAINER IMAGEdocker commit CONTAINER IMAGETurns the current state of a container into a new image.
Run docker commit CONTAINER IMAGE.
Run docker commit CONTAINER IMAGE.
Type it in the terminal or command-line interface used by Docker.
Yes. The command text is the same on both platforms when the tool is installed.