Container images — layers, tags, registries and digests
cheat sheet · Docker 29.1 · Ubuntu 24.04 https://lab.dimsanych.ru/en/wiki/container-images/Cheat sheet
-
sudo docker load -i /opt/images/alpine.tarimage from a file -
sudo docker imagesimages on this machine -
sudo docker image ls --digestswith digests -
sudo docker history nginx:alpinelayers and what made them -
sudo docker image inspect -f '{{.Id}}' busyboxfull ID -
sudo docker tag busybox:latest app:1.0a second name, same image -
sudo docker rmi app:1.0drop a tag or the image -
sudo docker image pruneremove untagged images -
sudo docker save busybox > busybox.tarimage to a file -
sudo docker pull nginx:alpinefetch from a registry (network)