Hello, docker noob here. I’ve installed docker on a host running windows 10. If I attempt the basic command:
docker run -d -p 80:80 docker/getting-started
I get the following error:
docker: Error response from daemon: Get “https://registry-1.docker.io/v2/”: proxyconnect tcp: dial tcp 192.168.65.7:3128: connect: connection refused.
I’m just on my home wifi so I don’t believe this is an issue with a proxy. I have docker desktop installed and open.
Any advice is appreciated.
docker --version gives:
Docker version 20.10.22, build 3a2c30b
lonegm
(Lonegm)
2
I have the same problem
error response from daemon. get “https://registry-1.docker.io/v2/”: proxyconnect tcp: dial tcp 192.168.65.7:3128: connect: connection refused
When I change resources > network, 192.168.65.7 gets changed too.
eg:
resources>network 192.168.2.0/24
the error
error response from daemon. get “https://registry-1.docker.io/v2/”: proxyconnect tcp: dial tcp 192.168.2.7:3128: connect: connection refused
this is docker info :
Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 20.10.22
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9ba4b250366a5ddde94bb7c9d1def331423aa323
runc version: v1.1.4-0-g5fd4c4d
init version: de40ad0
Security Options:
seccomp
Profile: default
Kernel Version: 5.15.83.1-microsoft-standard-WSL2
Operating System: Docker Desktop
OSType: linux
Architecture: x86_64
CPUs: 20
Total Memory: 15.49GiB
Name: docker-desktop
ID: 3V7O:MZ2K:ADOV:OZOG:ZE6N:TKH6:KKI2:UJMH:FGCO:USAS:KSIF:ZZSC
Docker Root Dir: /var/lib/docker
Debug Mode: false
HTTP Proxy: http.docker.internal:3128
HTTPS Proxy: http.docker.internal:3128
No Proxy: hubproxy.docker.internal
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
hubproxy.docker.internal:5000
127.0.0.0/8
Live Restore Enabled: false