Docker push already in progress

7.1k views Asked by At

I interrupted the following command : docker push <user>/docker-whale.

If I try running it again, I get :

Error response from daemon: push <user>/docker-whale is already in progress

I understand that the upload is still running in the background and that I only interrupted the client output. However, is there a way to get it back?

Also, if it's somehow stuck, how would you restart the push operation?

2

There are 2 answers

2
kagb On BEST ANSWER

This happens because you stopped pushing before it was finished. You don't need to remove the containers; just restart boot2docker(or docker service).

Command maybe: 
    boot2docker restart (on Mac)
    service docker restart (on Linux)

After that, you can push your image again, Good Luck!

0
Soar Lin On

I have the same issue on Mac, restart boot2docker and remove stopped container to fix it

boot2docker restart
docker ps -a | cut -c-12 | xargs docker rm