moby/daemon/containerd
Nicolas De Loof 1616a09b61 add support for image inspect with containerd-integration
This is a squashed version of various PRs (or related code-changes)
to implement image inspect with the containerd-integration;

- add support for image inspect
- introduce GetImageOpts to manage image inspect data in backend
- GetImage to return image tags with details
- list images matching digest to discover all tags
- Add ExposedPorts and Volumes to the image returned
- Refactor resolving/getting images
- Return the image ID on inspect
- consider digest and ignore tag when both are set
- docker run --platform

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-05 16:20:41 +01:00
..
cache.go imageservice: Add context to various methods 2022-11-03 12:22:40 +01:00
image.go add support for image inspect with containerd-integration 2023-01-05 16:20:41 +01:00
image_builder.go containerd-integration: prefer error over panic where possible 2022-09-07 22:01:49 +02:00
image_commit.go containerd-integration: prefer error over panic where possible 2022-09-07 22:01:49 +02:00
image_delete.go Implement ImageDelete for containerd 2022-07-28 22:56:34 +02:00
image_events.go daemon/containerd: split methods to separate files 2022-07-18 14:46:31 +02:00
image_exporter.go daemon: make the snapshotter configurable 2022-08-22 18:57:42 +02:00
image_history.go ImageService.ImageHistory(): pass context 2022-12-09 19:00:49 +01:00
image_import.go imageservice: Add context to various methods 2022-11-03 12:22:40 +01:00
image_list.go daemon: make the snapshotter configurable 2022-08-22 18:57:42 +02:00
image_prune.go containerd-integration: prefer error over panic where possible 2022-09-07 22:01:49 +02:00
image_pull.go containerd-integration: prefer error over panic where possible 2022-09-07 22:01:49 +02:00
image_push.go containerd-integration: prefer error over panic where possible 2022-09-07 22:01:49 +02:00
image_search.go containerd-integration: prefer error over panic where possible 2022-09-07 22:01:49 +02:00
image_squash.go containerd-integration: prefer error over panic where possible 2022-09-07 22:01:49 +02:00
image_tag.go containerd-integration: prefer error over panic where possible 2022-09-07 22:01:49 +02:00
resolver.go containerd/pull: Use authorization 2022-08-04 01:05:41 +02:00
service.go daemon/disk_usage: Use context aware singleflight 2022-11-29 16:46:19 +01:00