“docker save image” Code Answer’s
A Docker image is defined as a file that contains all the necessary files required to run an application. It contains all files of the operating system, along with the application code and all the supporting libraries required to run an application. A Docker image is a blueprint required to create a container. It is used to start multiple containers. On the other hand, a docker container is defined as a docker image that has been started. It is a running application. It also consumes memory and CPU resources.
In some cases, when you have built Docker images and Docker containers you might be interested to keep or sharing it with your colleagues. Some methods are given below used for achieving this:
The docker export: it exports the filesystem of a container as a tar archive.
The docker import: it imports contents of tarball to create a filesystem
The docker save: it saves one or more images to a tar archive
The docker load: it loads an image from a tar archive or STDIN