Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 743 Bytes

docker_images.md

File metadata and controls

43 lines (30 loc) · 743 Bytes

DOCKER IMAGES

  1. what are images Templates used to create Docker containers. Container is a running instance of an image

  2. where are images stored Registries ( e.g docker hub)

Dangling images - image that is not tagged and is not referenced by any Container.

NOTE - images are typically layers of file system stacked one on the other.

NOTE - you can create multiple docker containers from one image

COMMANDS

docker pull ubuntu:18.04
docker images -q
docker images -f "dangling=false"

Will give all the images that are NOT dangling

docker run image_name
docker rmi -f image_name
docker inspect ubuntu (id)

will give all the detais of the image