1.

Commands for Managing Images

Answer»
CommandMeaning Syntax 
Commands for listing imagesThis command is used to listing images  docker image ls
Command for Building images From the current directory's DockerfileThis command is used for building from the current directory’s dockerfile 
docker build
Command for Building images From a GIT remote repositoryThis command is used Building images command Using a remote GIT repository docker build github.com/creack/docker-firefox
Commands for tagging and buildingThis command for tagging and building. docker build -t eon/infinite
Specifying the Build Context while creating a DockerfileThis is use to Build an image from a Dockerfile docker build -f myDockerfile
Creating a Dockerfile from a URLIt wil help to create a dockerfile with a specific URL.  curl example.com/remote/Dockerfile | docker build -f -
Command for removing imageThis command is used to removing a7n image  docker image rm nginx
Using a File or the Normal Input Stream to Load a Tarred RepositoryUse STDIN or a tar archive to load an image. docker image load < ubuntu.tar.gz

docker build -f myOtherDockerfile
Image Saving to a Tar Archiveard Input StreamIt is used Save one or more images to a tar archive docker image save busybox > ubuntu.tar
Showing the History of an ImageThis command will let know the history of the image inside the docker image history
Making an Image Out of a ContainerThis command will help you to take an image out of the container docker container commit nginx
Command for image taggingWe can use this command for image tagging docker image tag nginx eon01/nginx
Command for pushing an imageWe can push any image through this command docker image push eon01/nginx



Discussion

No Comment Found