{
	"id": "07346eeb-eaa4-4eef-96c4-05c61f906e20",
	"created_at": "2026-04-06T01:28:56.580828Z",
	"updated_at": "2026-04-10T13:12:55.389336Z",
	"deleted_at": null,
	"sha1_hash": "5b54687441effb061ca71a38a414aa18f91861ae",
	"title": "docker image ls",
	"llm_title": "",
	"authors": "",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 76699,
	"plain_text": "docker image ls\r\nBy Docker Inc\r\nPublished: 2001-01-01 · Archived: 2026-04-06 01:16:02 UTC\r\nDescription List images\r\nUsage\r\ndocker image ls [OPTIONS]\r\n[REPOSITORY[:TAG]]\r\nAliases\r\nAn alias is a short or memorable alternative for a longer\r\ncommand.\r\ndocker image list docker images\r\nThe default docker images will show all top level images, their repository and tags, and their size.\r\nDocker images have intermediate layers that increase reusability, decrease disk usage, and speed up docker\r\nbuild by allowing each step to be cached. These intermediate layers are not shown by default.\r\nUntagged (dangling) images are also hidden by default. Use the -a ( --all ) flag to show intermediate layers\r\nand dangling images.\r\nThe SIZE is the cumulative space taken up by the image and all its parent images. This is also the disk space\r\nused by the contents of the Tar file created when you docker save an image.\r\nAn image will be listed more than once if it has multiple repository names or tags. This single image (identifiable\r\nby its matching IMAGE ID ) uses up the SIZE listed only once.\r\nOption Default Description\r\n-a, --all Show all images (default hides intermediate and dangling images)\r\n--digests Show digests\r\n-f, --\r\nfilter\r\nFilter output based on conditions provided\r\n--format Format output using a custom template:\r\n'table': Print output in table format with column headers (default)\r\n'table TEMPLATE': Print output in table format using the given Go template\r\n'json': Print in JSON format\r\n'TEMPLATE': Print output using the given Go template.\r\nhttps://docs.docker.com/engine/reference/commandline/images/\r\nPage 1 of 4\n\nOption Default Description\r\nRefer to https://docs.docker.com/go/formatting/ for more information about\r\nformatting output with templates\r\n--no-trunc\r\nDon't truncate output\r\n-q, --\r\nquiet\r\nOnly show image IDs\r\n--tree\r\nAPI 1.47+ experimental (CLI) List multi-platform images as a tree\r\n(EXPERIMENTAL)\r\nList the most recently created images\r\nList images by name and tag\r\nThe docker images command takes an optional [REPOSITORY[:TAG]] argument that restricts the list to images\r\nthat match the argument. If you specify REPOSITORY but no TAG , the docker images command lists all images\r\nin the given repository.\r\nFor example, to list all images in the java repository, run the following command:\r\nThe [REPOSITORY[:TAG]] value must be an exact match. This means that, for example, docker images jav\r\ndoes not match the image java .\r\nIf both REPOSITORY and TAG are provided, only images matching that repository and tag are listed. To find all\r\nlocal images in the java repository with tag 8 you can use:\r\nIf nothing matches REPOSITORY[:TAG] , the list is empty.\r\nList the full length image IDs (--no-trunc)\r\nList image digests (--digests)\r\nImages that use the v2 or later format have a content-addressable identifier called a digest . As long as the input\r\nused to generate the image is unchanged, the digest value is predictable. To list image digest values, use the --\r\ndigests flag:\r\nWhen pushing or pulling to a 2.0 registry, the push or pull command output includes the image digest. You\r\ncan pull using a digest value. You can also reference by digest in create , run , and rmi commands, as well\r\nas the FROM image reference in a Dockerfile.\r\nFiltering (--filter)\r\nhttps://docs.docker.com/engine/reference/commandline/images/\r\nPage 2 of 4\n\nThe filtering flag ( -f or --filter ) format is of \"key=value\". If there is more than one filter, then pass multiple\r\nflags (e.g., --filter \"foo=bar\" --filter \"bif=baz\" ).\r\nThe currently supported filters are:\r\ndangling (boolean - true or false)\r\nlabel ( label=\u003ckey\u003e or label=\u003ckey\u003e=\u003cvalue\u003e )\r\nbefore ( \u003cimage-name\u003e[:\u003ctag\u003e] , \u003cimage id\u003e or \u003cimage@digest\u003e ) - filter images created before given id\r\nor references\r\nsince ( \u003cimage-name\u003e[:\u003ctag\u003e] , \u003cimage id\u003e or \u003cimage@digest\u003e ) - filter images created since given id or\r\nreferences\r\nreference (pattern of an image reference) - filter images whose reference matches the specified pattern\r\nShow untagged images (dangling)\r\nThis will display untagged images that are the leaves of the images tree (not intermediary layers). These images\r\noccur when a new build of an image takes the repo:tag away from the image ID, leaving it as \u003cnone\u003e:\u003cnone\u003e\r\nor untagged. A warning will be issued if trying to remove an image when a container is presently using it. By\r\nhaving this flag it allows for batch cleanup.\r\nYou can use this in conjunction with docker rmi :\r\nDocker warns you if any containers exist that are using these untagged images.\r\nShow images with a given label\r\nThe label filter matches images based on the presence of a label alone or a label and a value.\r\nThe following filter matches images with the com.example.version label regardless of its value.\r\nThe following filter matches images with the com.example.version label with the 1.0 value.\r\nIn this example, with the 0.1 value, it returns an empty set because no matches were found.\r\nFilter images by time\r\nThe before filter shows only images created before the image with a given ID or reference. For example, having\r\nthese images:\r\nFiltering with before would give:\r\nFiltering with since would give:\r\nFilter images by reference\r\nThe reference filter shows only images whose reference matches the specified pattern.\r\nhttps://docs.docker.com/engine/reference/commandline/images/\r\nPage 3 of 4\n\nFiltering with reference would give:\r\nFiltering with multiple reference would give, either match A or B:\r\nFormat the output (--format)\r\nThe formatting option ( --format ) will pretty print container output using a Go template.\r\nValid placeholders for the Go template are listed below:\r\nPlaceholder Description\r\n.ID Image ID\r\n.Repository Image repository\r\n.Tag Image tag\r\n.Digest Image digest\r\n.CreatedSince Elapsed time since the image was created\r\n.CreatedAt Time when the image was created\r\n.Size Image disk size\r\nWhen using the --format option, the image command will either output the data exactly as the template\r\ndeclares or, when using the table directive, will include column headers as well.\r\nThe following example uses a template without headers and outputs the ID and Repository entries separated\r\nby a colon ( : ) for all images:\r\nTo list all images with their repository and tag in a table format you can use:\r\nTo list all images in JSON format, use the json directive:\r\nSource: https://docs.docker.com/engine/reference/commandline/images/\r\nhttps://docs.docker.com/engine/reference/commandline/images/\r\nPage 4 of 4",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"origins": [
		"web"
	],
	"references": [
		"https://docs.docker.com/engine/reference/commandline/images/"
	],
	"report_names": [
		"images"
	],
	"threat_actors": [],
	"ts_created_at": 1775438936,
	"ts_updated_at": 1775826775,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/5b54687441effb061ca71a38a414aa18f91861ae.pdf",
		"text": "https://archive.orkl.eu/5b54687441effb061ca71a38a414aa18f91861ae.txt",
		"img": "https://archive.orkl.eu/5b54687441effb061ca71a38a414aa18f91861ae.jpg"
	}
}