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?
Refer to the docker image tag reference for more information about valid image and tag names. Killing the docker image push process, for example by pressing CTRL-c while it is running in a terminal, terminates the push operation.
Will it overwrite existing image with the latest version? Yep.
1. Overview. In this tutorial, we'll explore ways to keep Docker containers running indefinitely. By default, containers run only as long as their default command executes but a common use case it´s to run them indefinitely for debugging and troubleshooting purposes.
To push an image to Docker Hub, you must first name your local image using your Docker Hub username and the repository name that you created through Docker Hub on the web. You can add multiple images to a repository by adding a specific :<tag> to them (for example docs/base:testing ).
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!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With