Docker commands (cont.)



To grab the image and download, docker has a pull command (sudo docker pull --help)





if well an image without tag, for instance




it will download multiple images of ubuntu as shown below












So, to avoid this downloading of multiple images, we use a tag

So, with a tag,





here, latest is acting a keyword which will bring down the latest version of ubuntu



To check the existing images in your local directory, type





To kill any running docker container,type





To delete any docker container,type







0 comments:

Post a Comment