v1
latestSwagger 2.02026-07-17107109407.9 KBImage
Remove an image
Remove an image, along with any untagged parent images that were referenced by that image.
Images can't be removed if they have descendant images, are being used by a running container or are being used by a build.
delete/images/{name}
Path parameters
namestring required
Image name or ID
Query parameters
forceboolean
Remove the image even if it is being used by stopped containers or has other tags
nopruneboolean
Do not delete untagged parent images
Response
The image was deleted successfully