-
what are images Templates used to create Docker containers. Container is a running instance of an image
-
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
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