Skip to content

docker images - lista obrazów dostępnych lokalnie

Polecenie wyświetla listę wszystkich dostępnych lokalnie obrazów kontenerów.

Wykonanie polecenia

docker images

Rezultat

REPOSITORY TAG IMAGE ID CREATED SIZE
nginx latest f68d6e55e065 4 days ago 109MB
redis latest 4760dc956b2d 15 months ago 107MB
ubuntu latest f975c5035748 16 months ago 112MB
alpine latest 3fd9065eaf02 18 months ago 4.14MB

Możliwe jest wyświetlenie listy w formacie json.

docker images --format json | jq .

{
  "Containers": "N/A",
  "CreatedAt": "2024-08-14 21:31:12 +0000 UTC",
  "CreatedSince": "3 weeks ago",
  "Digest": "<none>",
  "ID": "39286ab8a5e1",
  "Repository": "nginx",
  "SharedSize": "N/A",
  "Size": "188MB",
  "Tag": "latest",
  "UniqueSize": "N/A",
  "VirtualSize": "187.7MB"
}
...