Error Knowledge Base Docker no_such_image

Error: No such image: <image-id>

Docker cannot find that image locally, so the image ID or tag is wrong, was removed, or was never pulled onto this machine.

What Docker Could Not Find on This Daemon

Docker cannot find that image locally, so the image ID or tag is wrong, was removed, or was never pulled onto this machine.

Check the image on the current daemon

Check the active daemon and context with docker context show.

List local images on that daemon with docker image ls --digests --no-trunc.

If CI built the image earlier, confirm the build or pull step ran on the same runner and context.

Build, pull, or reference the right local image

List local images on the current daemon and confirm the expected tag or ID exists.

If the image should be present locally, pull or build it again with the exact tag the later command expects.

If the script is using a short ID copied from elsewhere, switch to a stable tag or use the right Docker context.

Why This Daemon Cannot Find the Image

The local image ID or tag is wrong.

The image was removed or never existed on this daemon.

The script is using an image ID or tag from another machine, runner, or Docker context.

Verify the Image Exists on This Daemon

Run docker image inspect <image-or-tag> on the current daemon and confirm it returns metadata, and retry the original Docker command and confirm it now resolves the image locally.

Typical Output

Error: No such image: <image-id>

Avoid Version and Source Drift

To prevent this, prefer stable tags or digests over short ephemeral IDs in scripts, and make pull or build steps explicit before commands that expect the image to exist locally.

How Docker resolves local image references

Commands like docker run, docker tag, and docker rmi first resolve the image reference against the local image store on the current daemon.

If no local image ID or tag matches, Docker fails before any registry lookup happens.

Need help or found a mistake? Contact RepoFlow support for questions.

Join our mailing list