Docker images¶
Image contains applications binaries, dependencies for the app along with metadata about how to run it
Usage: docker image command
¶
Image details¶
ls
- List downloaded images
build
— Build an image.
history
— See intermediate image info. Eg: docker image history nginx:latest
inspect
— Inspect the image, including the layers. Eg: docker image inspect nginx
Tag image¶
Upload image to docker hub¶
Cleaning up images¶
Remove dangling images
Remove images that are not in use
Cleanup everything