Where to start First steps track · 15 stages
Linux Labs

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.tar image from a file
  • sudo docker images images on this machine
  • sudo docker image ls --digests with digests
  • sudo docker history nginx:alpine layers and what made them
  • sudo docker image inspect -f '{{.Id}}' busybox full ID
  • sudo docker tag busybox:latest app:1.0 a second name, same image
  • sudo docker rmi app:1.0 drop a tag or the image
  • sudo docker image prune remove untagged images
  • sudo docker save busybox > busybox.tar image to a file
  • sudo docker pull nginx:alpine fetch from a registry (network)
Loading…