If you’ve run into this dreaded error:

Error response from daemon: No such image:

Then you can solve it as follows:

Step 1

Perform a docker pull -a <org/image>

Then perform a docker images -a to see what the version is.

Step 2

This issue can occur when it is trying to map tag to latest, but a specific version is explicitly listed instead.

docker tag <org>/<image>:v1 <new_org>/<image>

Make sure to replace :v1 with the specific TAG that was shown from the docker images command above.

Step 3

Now you can perform your docker push <new_org>/<image>