Skip to main content

Docker Success Center

The Docker enterprise customer portal.

Docker, Inc.

Why do I get intermittent failures when I try to push to repositories on Docker Hub?

Question

Why do I get intermittent failures when I try and upload to repositories on Docker Hub?

Answer

This can sometimes occur due to DNS resolution problems on the client machine. Try changing the default DNS servers in /etc/resolv.conf to use Google's public DNS resolvers:

nameserver 8.8.8.8
nameserver 8.8.4.4

 If this resolves the issue then additional investigation of the original DNS servers may be needed.