Can't push image into the hub

No matter what I do, pushing the image to the docker hub refuses to cooperate. I get random network errors in a middle of the process like this:

Failed to upload metadata: Put https://cdn-registry-1.docker.io/v1/images/168a69b6220279e6d5bd8dafd2edf71434a08e32b60a7060f7a705f64857169d/json: dial tcp: lookup cdn-registry-1.docker.io on 62.219.186.7:53: read udp 62.219.186.7:53: i/o timeout

…dial tcp: lookup auth.docker.io on 192.115.106.35:53: no such host

…net/http: request canceled while waiting for connection

The image is good an running, the account is also fine. So what do you do if you can’t upload the image into the hub for a few days? Is this normal? Am I doing something wrong?

Here are my details:
$ docker version
Client:
Version: 1.9.1
API version: 1.21
Go version: go1.4.3
Git commit: a34a1d5
Built: Fri Nov 20 17:56:04 UTC 2015
OS/Arch: windows/amd64

Server:
Version: 1.9.1
API version: 1.21
Go version: go1.4.3
Git commit: a34a1d5
Built: Fri Nov 20 17:56:04 UTC 2015
OS/Arch: linux/amd64

$ docker info
Containers: 219
Images: 14
Server Version: 1.9.1
Storage Driver: aufs
Root Dir: /mnt/sda1/var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 452
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.1.13-boot2docker
Operating System: Boot2Docker 1.9.1 (TCL 6.4.1); master : cef800b - Fri Nov 20 19:33:59 UTC 2015
CPUs: 1
Total Memory: 1.956 GiB
Name: default
ID: 6I67:IBVY:BZSN:J7IB:WGXW:ID55:UQS6:BKON:SAQI:MZEF:CY4C:MKE6
Debug mode (server): true
File Descriptors: 12
Goroutines: 20
System Time: 2015-12-20T18:57:35.389136971Z
EventsListeners: 0
Init SHA1:
Init Path: /usr/local/bin/docker
Docker Root Dir: /mnt/sda1/var/lib/docker
Registry: https://index.docker.io/v1/
Labels:
provider=virtualbox

Hi

I have the same problem when I push the image I am getting the following error

dial tcp: lookup registry-1.docker.io on 192.168.55.1:53: read udp 192.168.55.151:33310->192.168.55.1:53: i/o timeout

My current version of docker is

Client:
Version: 17.05.0-ce
API version: 1.29
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:06:25 2017
OS/Arch: linux/amd64

Server:
Version: 17.05.0-ce
API version: 1.29 (minimum version 1.12)
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:06:25 2017
OS/Arch: linux/amd64
Experimental: false