Reputation: 55
trying to build an image an error occurs
Step 16/37 : FROM $IMAGE_PHP as base-backend
---> 5fc947f8be08
Step 17/37 : ARG UID
unable to find image "sha256:bafb075f25add74a30374cd88b7ab89e39f2931d6e22e64db6fa75d9bf7ee57e"
All required images are pulled. IMAGE_PHP has a different digest. I don’t understand why docker is looking for an image after the ARG directive.
Upvotes: 0
Views: 2166
Reputation: 370
You can use command docker builder prune
or docker builder prune --all
to resolve this issue.
More details:
https://stackoverflow.com/a/65405761/6843123
Upvotes: 1