mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-09-12 19:07:24 +00:00
* Fix IP address retrieval for registry setup.
* Adjust push detection to Docker 29.
* Idempotency for export no longer works.
* Disable pull idempotency checks that play with architecture.
* Add more known image IDs.
* Adjust load tests.
* Adjust error message check.
* Allow for more digests.
* Make sure a new enough cryptography version is installed.
(cherry picked from commit d207643e0c)
This commit is contained in:
@@ -210,6 +210,7 @@ class ImageRemover(DockerBaseClass):
|
||||
|
||||
elif is_image_name_id(name):
|
||||
results['deleted'].append(image['Id'])
|
||||
# TODO: the following is no longer correct with Docker 29+...
|
||||
results['untagged'] = sorted((image.get('RepoTags') or []) + (image.get('RepoDigests') or []))
|
||||
if not self.force and results['untagged']:
|
||||
self.fail('Cannot delete image by ID that is still in use - use force=true')
|
||||
|
||||
Reference in New Issue
Block a user