When I try to build, push or pull from my PC to/from our local repo, I get a no such host error. When I push and pull from our test/prod servers to the repo, I don’t have issues. This has happened on both of my Windows dev machines after upgrading the docker client to latest.
MY PC
Docker Desktop Community
2.1.7.0 (41536)
channel: edge (I’ve tried stable too)
Engine: 19.03.5
Test Server
Red Hat Enterprise Linux Server 7.6 (Maipo)
Client: Docker Engine - Enterprise
Version: 19.03.1
API version: 1.40
Go version: go1.12.5
Git commit: f660560
Built: Thu Jul 25 20:59:24 2019
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Enterprise
Engine:
Version: 19.03.1
API version: 1.40 (minimum version 1.12)
Go version: go1.12.5
Git commit: f660560
Built: Thu Jul 25 20:57:49 2019
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.2.6
GitCommit: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
runc:
Version: 1.0.0-rc8
GitCommit: 425e105d5a03fabd737a126ad93d62a9eeede87f
docker-init:
Version: 0.18.0
GitCommit: fec3683
Local Repo Server
CentOS Linux Version 7
docker version
Client:
Version: 1.12.2
API version: 1.24
Go version: go1.6.3
Git commit: bb80604
Built:
OS/Arch: linux/amd64
Server:
Version: 1.12.2
API version: 1.24
Go version: go1.6.3
Git commit: bb80604
Built:
OS/Arch: linux/amd64
Error
docker build -t cotdocker:5000/text-response .
Sending build context to Docker daemon 23.45MB
Step 1/13 : FROM cotdocker:5000/cot-node-oracle:8
Get http://cotdocker:5000/v2/: dial tcp: lookup cotdocker on : no such host
docker pull cotdocker:5000/text-response
Using default tag: latest
Error response from daemon: Get http://cotdocker:5000/v2/: dial tcp: lookup cotdocker on : no such host
Is the newest version incompatible with my local repo version? Thanks