Andreas,
Thank you very much. In fact I didn't go that deep yet, and not sure if I should. I just found that the url is not accessible even from a browser. Googling a bit, tells me there is no clear URL for docker-registry and
possibly this one is outdated. I will continue looking around to confirm
what the current default repo should be. If you have any suggestions,
please let me know.
localhost in ~
○ → curl -k -v
https://registry-1.docker.io/v2/
* Trying 34.228.211.243:443...
* connect to 34.228.211.243 port 443 failed: Connection timed out
* Failed to connect to registry-1.docker.io port 443 after 129401 ms:
Couldn't connect to server
* Closing connection 0
curl: (28) Failed to connect to registry-1.docker.io port 443 after 129401
ms: Couldn't connect to server
On Sat, Dec 10, 2022 at 1:32 PM Andreas Fink <
[email protected]> wrote:
On Sat, 10 Dec 2022 12:30:40 -0500
Mansour Al Akeel <[email protected]> wrote:
I am using Openrc
This was my initial /etc/conf.d/docker
DOCKER_OPTS="--storage-driver overlay2 --data-root /srv/var/lib/docker"
when I try:
$ docker pull hello-world
Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Trying to troubleshoot:
localhost /home/mansour # tail -n 20 /var/log/docker.log time="2022-12-10T12:17:03.473550705-05:00" level=info msg="scheme
\"unix\"
not registered, fallback to default scheme" module=grpc time="2022-12-10T12:17:03.473566413-05:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock <nil> 0 <nil>}] <nil> <nil>}" module=grpc
time="2022-12-10T12:17:03.473573787-05:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc time="2022-12-10T12:17:03.474530993-05:00" level=info msg="parsed scheme: \"unix\"" module=grpc
time="2022-12-10T12:17:03.474545549-05:00" level=info msg="scheme
\"unix\"
not registered, fallback to default scheme" module=grpc time="2022-12-10T12:17:03.474563752-05:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock <nil> 0 <nil>}] <nil> <nil>}" module=grpc
time="2022-12-10T12:17:03.474571186-05:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc time="2022-12-10T12:17:03.478908716-05:00" level=warning msg="Your kernel does not support cgroup blkio weight" time="2022-12-10T12:17:03.478927115-05:00" level=warning msg="Your kernel does not support cgroup blkio weight_device" time="2022-12-10T12:17:03.479037897-05:00" level=info msg="Loading containers: start."
time="2022-12-10T12:17:03.495743563-05:00" level=info msg="failed to read ipv6 net.ipv6.conf.<bridge>.accept_ra" bridge=docker0 syspath=/proc/sys/net/ipv6/conf/docker0/accept_ra time="2022-12-10T12:17:03.518761943-05:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option
--bip
can be used to set a preferred IP address" time="2022-12-10T12:17:03.518886881-05:00" level=info msg="failed to read ipv6 net.ipv6.conf.<bridge>.accept_ra" bridge=docker0 syspath=/proc/sys/net/ipv6/conf/docker0/accept_ra time="2022-12-10T12:17:03.534616741-05:00" level=info msg="Loading containers: done."
time="2022-12-10T12:17:03.541080189-05:00" level=info msg="Docker daemon" commit=a89b84221c graphdriver(s)=overlay2 version=20.10.17 time="2022-12-10T12:17:03.541122352-05:00" level=info msg="Daemon has completed initialization"
time="2022-12-10T12:17:03.549888103-05:00" level=info msg="API listen on /var/run/docker.sock"
time="2022-12-10T12:17:27.025622231-05:00" level=warning msg="Error
getting
v2 registry: Get \"https://registry-1.docker.io/v2/\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"
time="2022-12-10T12:17:27.025667054-05:00" level=info msg="Attempting
next
endpoint for pull after error: Get \"https://registry-1.docker.io/v2/\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)" time="2022-12-10T12:17:27.026851821-05:00" level=error msg="Handler for POST /v1.41/images/create returned error: Get \" https://registry-1.docker.io/v2/\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"
time="2022-12-10T12:15:42.036053086-05:00" level=info msg="loading plugin \"io.containerd.internal.v1.tracing\"..." type=io.containerd.internal.v1 time="2022-12-10T12:15:42.036068412-05:00" level=error msg="failed to initialize a tracing processor \"otlp\"" error="no OpenTelemetry
endpoint:
skip plugin"
time="2022-12-10T12:15:42.036100189-05:00" level=info msg="loading plugin \"io.containerd.grpc.v1.cri\"..." type=io.containerd.grpc.v1 time="2022-12-10T12:15:42.036390695-05:00" level=info msg="Start cri
plugin
with config {PluginConfig:{ContainerdConfig:{Snapshotter:overlayfs DefaultRuntimeName:runc DefaultRuntime:{Type: Path: Engine: PodAnnotations:[] ContainerAnnotations:[] Root: Options:map[] PrivilegedWithoutHostDevices:false BaseRuntimeSpec: NetworkPluginConfDir: NetworkPluginMaxConfNum:0} UntrustedWorkloadRuntime:{Type: Path: Engine: PodAnnotations:[] ContainerAnnotations:[] Root: Options:map[] PrivilegedWithoutHostDevices:false BaseRuntimeSpec: NetworkPluginConfDir: NetworkPluginMaxConfNum:0} Runtimes:map[runc:{Type:io.containerd.runc.v2 Path: Engine: PodAnnotations:[] ContainerAnnotations:[] Root: Options:map[BinaryName: CriuImagePath: CriuPath: CriuWorkPath: IoGid:0 IoUid:0 NoNewKeyring:false NoPivotRoot:false Root: ShimCgroup: SystemdCgroup:false] PrivilegedWithoutHostDevices:false BaseRuntimeSpec: NetworkPluginConfDir: NetworkPluginMaxConfNum:0}] NoPivot:false DisableSnapshotAnnotations:true DiscardUnpackedLayers:false IgnoreRdtNotEnabledErrors:false} CniConfig:{NetworkPluginBinDir:/opt/cni/bin NetworkPluginConfDir:/etc/cni/net.d NetworkPluginMaxConfNum:1 NetworkPluginConfTemplate: IPPreference:} Registry:{ConfigPath: Mirrors:map[] Configs:map[] Auths:map[] Headers:map[]} ImageDecryption:{KeyModel:node} DisableTCPService:true StreamServerAddress:127.0.0.1 StreamServerPort:0 StreamIdleTimeout:4h0m0s EnableSelinux:false SelinuxCategoryRange:1024 SandboxImage: k8s.gcr.io/pause:3.6 StatsCollectPeriod:10 SystemdCgroup:false EnableTLSStreaming:false X509KeyPairStreaming:{TLSCertFile: TLSKeyFile:} MaxContainerLogLineSize:16384 DisableCgroup:false DisableApparmor:false RestrictOOMScoreAdj:false MaxConcurrentDownloads:3 DisableProcMount:false UnsetSeccompProfile: TolerateMissingHugetlbController:true DisableHugetlbController:true DeviceOwnershipFromSecurityContext:false IgnoreImageDefinedVolumes:false NetNSMountsUnderStateDir:false EnableUnprivilegedPorts:false EnableUnprivilegedICMP:false} ContainerdRootDir:/var/lib/containerd ContainerdEndpoint:/run/containerd/containerd.sock RootDir:/var/lib/containerd/io.containerd.grpc.v1.cri StateDir:/run/containerd/io.containerd.grpc.v1.cri}" time="2022-12-10T12:15:42.036530498-05:00" level=info msg="Connect containerd service"
time="2022-12-10T12:15:42.036627681-05:00" level=info msg="Get image filesystem path \"/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs\"" time="2022-12-10T12:15:42.036896077-05:00" level=error msg="failed to
load
cni during init, please check CRI plugin status before setting up network for pods" error="cni config load failed: no network config found in /etc/cni/net.d: cni plugin not initialized: failed to load cni config" time="2022-12-10T12:15:42.036986623-05:00" level=info msg="Start subscribing containerd event"
time="2022-12-10T12:15:42.037028034-05:00" level=info msg="Start
recovering
state"
time="2022-12-10T12:15:42.037035874-05:00" level=info msg=serving... address=/run/containerd/containerd.sock.ttrpc time="2022-12-10T12:15:42.037068181-05:00" level=info msg=serving... address=/run/containerd/containerd.sock time="2022-12-10T12:15:42.037085346-05:00" level=info msg="containerd successfully booted in 0.015889s" time="2022-12-10T12:15:42.037072303-05:00" level=info msg="Start event monitor"
time="2022-12-10T12:15:42.037107987-05:00" level=info msg="Start
snapshots
syncer"
time="2022-12-10T12:15:42.037119126-05:00" level=info msg="Start cni network conf syncer for default"
time="2022-12-10T12:15:42.037127266-05:00" level=info msg="Start
streaming
server"
Looking at resolv.conf
localhost /home/mansour # cat /etc/resolv.conf
# Generated by dhcpcd from wlp3s0.dhcp
# /etc/resolv.conf.head can replace this line
domain Home
nameserver 192.168.1.1
# /etc/resolv.conf.tail can replace this line
So, I added the following to my /etc/dhcpcd.conf
static domain_name_servers=8.8.8.8 8.8.4.4 192.168.1.1
And restarted dhcpcd:
localhost /home/mansour # cat /etc/resolv.conf
# Generated by dhcpcd from wlp3s0.dhcp
# /etc/resolv.conf.head can replace this line
domain Home
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 192.168.1.1
# /etc/resolv.conf.tail can replace this line
docker.log still shows the same error: time="2022-12-10T12:28:16.519126445-05:00" level=warning msg="Error
getting
v2 registry: Get \"https://registry-1.docker.io/v2/\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"
time="2022-12-10T12:28:16.519173944-05:00" level=info msg="Attempting
next
endpoint for pull after error: Get \"https://registry-1.docker.io/v2/\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)" time="2022-12-10T12:28:16.520489790-05:00" level=error msg="Handler for POST /v1.41/images/create returned error: Get \" https://registry-1.docker.io/v2/\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"
I am not able to login with "docker login"
Where do I look further for additional troubleshooting hints? Google
didn't
help a lot.
Thank you.
Hello,
my first step would be checking if there is some inherent network
problem reaching registry-1.docker.io/v2, e.g. via
curl -v https://registry-1.docker.io/v2/
If that runs successfully, you could try if there is an MTU problem. I remember that I had to set MTU to 1450 in some virtualized environment, otherwise docker would not run correctly, i.e. I had in
/etc/conf.d/docer
DOCKER_OPTS="--mtu=1450"
Hope that gives you an idea what to look for.
If both does not help, there is wireshark, to watch your network, very low-level, but might give some hints.
Cheers
Andreas
<div dir="ltr"><div>Andreas,</div><div><br></div><div>Thank you very much. In fact I didn't go that deep yet, and not sure if I should. I just found that the url is not accessible even from a browser. Googling a bit, tells me there is no clear URL
for docker-registry and possibly this one is outdated. I will continue looking around to confirm what the current default repo should be. If you have any suggestions, please let me know. <br></div><div><br></div><div><br></div><div> localhost in ~<br>○
→ curl -k -v <a href="
https://registry-1.docker.io/v2/">https://registry-1.docker.io/v2/</a><br>* Trying 34.228.211.243:443...<br><br>* connect to 34.228.211.243 port 443 failed: Connection timed out<br>* Failed to connect to <a href="
http://
registry-1.docker.io">registry-1.docker.io</a> port 443 after 129401 ms: Couldn't connect to server<br>* Closing connection 0<br>curl: (28) Failed to connect to <a href="
http://registry-1.docker.io">registry-1.docker.io</a> port 443 after 129401 ms:
Couldn't connect to server<br><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Dec 10, 2022 at 1:32 PM Andreas Fink <<a href="mailto:
[email protected]">finkandreas@
web.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sat, 10 Dec 2022 12:30:40 -0500<br>
Mansour Al Akeel <<a href="mailto:
[email protected]" target="_blank">
[email protected]</a>> wrote:<br>
> I am using Openrc<br>
><br>
> This was my initial /etc/conf.d/docker<br>
> DOCKER_OPTS="--storage-driver overlay2 --data-root /srv/var/lib/docker"<br>
><br>
> when I try:<br>
><br>
> $ docker pull hello-world<br>
><br>
> Error response from daemon: Get "<a href="
https://registry-1.docker.io/v2/" rel="noreferrer" target="_blank">
https://registry-1.docker.io/v2/</a>":<br>
> net/http: request canceled while waiting for connection (Client.Timeout<br>
> exceeded while awaiting headers)<br>
><br>
> Trying to troubleshoot:<br>
><br>
> localhost /home/mansour # tail -n 20 /var/log/docker.log<br>
> time="2022-12-10T12:17:03.473550705-05:00" level=info msg="scheme \"unix\"<br>
> not registered, fallback to default scheme" module=grpc<br>
> time="2022-12-10T12:17:03.473566413-05:00" level=info<br>
> msg="ccResolverWrapper: sending update to cc:<br>
> {[{unix:///run/containerd/containerd.sock <nil> 0 <nil>}] <nil> <nil>}"<br>
> module=grpc<br>
> time="2022-12-10T12:17:03.473573787-05:00" level=info msg="ClientConn<br>
> switching balancer to \"pick_first\"" module=grpc<br>
> time="2022-12-10T12:17:03.474530993-05:00" level=info msg="parsed scheme:<br>
> \"unix\"" module=grpc<br>
> time="2022-12-10T12:17:03.474545549-05:00" level=info msg="scheme \"unix\"<br>
> not registered, fallback to default scheme" module=grpc<br>
> time="2022-12-10T12:17:03.474563752-05:00" level=info<br>
> msg="ccResolverWrapper: sending update to cc:<br>
> {[{unix:///run/containerd/containerd.sock <nil> 0 <nil>}] <nil> <nil>}"<br>
> module=grpc<br>
> time="2022-12-10T12:17:03.474571186-05:00" level=info msg="ClientConn<br>
> switching balancer to \"pick_first\"" module=grpc<br>
> time="2022-12-10T12:17:03.478908716-05:00" level=warning msg="Your kernel<br>
> does not support cgroup blkio weight"<br>
> time="2022-12-10T12:17:03.478927115-05:00" level=warning msg="Your kernel<br>
> does not support cgroup blkio weight_device"<br>
> time="2022-12-10T12:17:03.479037897-05:00" level=info msg="Loading<br>
> containers: start."<br>
> time="2022-12-10T12:17:03.495743563-05:00" level=info msg="failed to read<br>
> ipv6 net.ipv6.conf.<bridge>.accept_ra" bridge=docker0<br>
> syspath=/proc/sys/net/ipv6/conf/docker0/accept_ra<br>
> time="2022-12-10T12:17:03.518761943-05:00" level=info msg="Default bridge<br>
> (docker0) is assigned with an IP address <a href="
http://172.17.0.0/16" rel="noreferrer" target="_blank">172.17.0.0/16</a>. Daemon option --bip<br>
> can be used to set a preferred IP address"<br>
> time="2022-12-10T12:17:03.518886881-05:00" level=info msg="failed to read<br>
> ipv6 net.ipv6.conf.<bridge>.accept_ra" bridge=docker0<br>
> syspath=/proc/sys/net/ipv6/conf/docker0/accept_ra<br>
> time="2022-12-10T12:17:03.534616741-05:00" level=info msg="Loading<br>
> containers: done."<br>
> time="2022-12-10T12:17:03.541080189-05:00" level=info msg="Docker daemon"<br>
> commit=a89b84221c graphdriver(s)=overlay2 version=20.10.17<br>
> time="2022-12-10T12:17:03.541122352-05:00" level=info msg="Daemon has<br>
> completed initialization"<br>
> time="2022-12-10T12:17:03.549888103-05:00" level=info msg="API listen on<br>
> /var/run/docker.sock"<br>
> time="2022-12-10T12:17:27.025622231-05:00" level=warning msg="Error getting<br>
> v2 registry: Get \"<a href="
https://registry-1.docker.io/v2/%5C" rel="noreferrer" target="_blank">
https://registry-1.docker.io/v2/\</a>": net/http: request<br>
> canceled while waiting for connection (Client.Timeout exceeded while<br> > awaiting headers)"<br>
> time="2022-12-10T12:17:27.025667054-05:00" level=info msg="Attempting next<br>
> endpoint for pull after error: Get \"<a href="
https://registry-1.docker.io/v2/%5C" rel="noreferrer" target="_blank">
https://registry-1.docker.io/v2/\</a>":<br>
> net/http: request canceled while waiting for connection (Client.Timeout<br>
> exceeded while awaiting headers)"<br>
> time="2022-12-10T12:17:27.026851821-05:00" level=error msg="Handler for<br>
> POST /v1.41/images/create returned error: Get \"<br>
> <a href="
https://registry-1.docker.io/v2/%5C" rel="noreferrer" target="_blank">
https://registry-1.docker.io/v2/\</a>": net/http: request canceled while<br>
> waiting for connection (Client.Timeout exceeded while awaiting headers)"<br>
><br>
> time="2022-12-10T12:15:42.036053086-05:00" level=info msg="loading plugin<br>
> \"io.containerd.internal.v1.tracing\"..." type=io.containerd.internal.v1<br>
> time="2022-12-10T12:15:42.036068412-05:00" level=error msg="failed to<br>
> initialize a tracing processor \"otlp\"" error="no OpenTelemetry endpoint:<br>
> skip plugin"<br>
> time="2022-12-10T12:15:42.036100189-05:00" level=info msg="loading plugin<br>
> \"io.containerd.grpc.v1.cri\"..." type=io.containerd.grpc.v1<br>
> time="2022-12-10T12:15:42.036390695-05:00" level=info msg="Start cri plugin<br>
> with config {PluginConfig:{ContainerdConfig:{Snapshotter:overlayfs<br> > DefaultRuntimeName:runc DefaultRuntime:{Type: Path: Engine:<br>
> PodAnnotations:[] ContainerAnnotations:[] Root: Options:map[]<br>
> PrivilegedWithoutHostDevices:false BaseRuntimeSpec: NetworkPluginConfDir:<br>
> NetworkPluginMaxConfNum:0} UntrustedWorkloadRuntime:{Type: Path: Engine:<br>
> PodAnnotations:[] ContainerAnnotations:[] Root: Options:map[]<br>
> PrivilegedWithoutHostDevices:false BaseRuntimeSpec: NetworkPluginConfDir:<br>
> NetworkPluginMaxConfNum:0} Runtimes:map[runc:{Type:io.containerd.runc.v2<br>
> Path: Engine: PodAnnotations:[] ContainerAnnotations:[] Root:<br>
> Options:map[BinaryName: CriuImagePath: CriuPath: CriuWorkPath: IoGid:0<br> > IoUid:0 NoNewKeyring:false NoPivotRoot:false Root: ShimCgroup:<br>
> SystemdCgroup:false] PrivilegedWithoutHostDevices:false BaseRuntimeSpec:<br>
> NetworkPluginConfDir: NetworkPluginMaxConfNum:0}] NoPivot:false<br>
> DisableSnapshotAnnotations:true DiscardUnpackedLayers:false<br>
> IgnoreRdtNotEnabledErrors:false}<br>
> CniConfig:{NetworkPluginBinDir:/opt/cni/bin<br>
> NetworkPluginConfDir:/etc/cni/net.d NetworkPluginMaxConfNum:1<br>
> NetworkPluginConfTemplate: IPPreference:} Registry:{ConfigPath:<br>
> Mirrors:map[] Configs:map[] Auths:map[] Headers:map[]}<br>
> ImageDecryption:{KeyModel:node} DisableTCPService:true<br>
> StreamServerAddress:127.0.0.1 StreamServerPort:0 StreamIdleTimeout:4h0m0s<br>
> EnableSelinux:false SelinuxCategoryRange:1024 SandboxImage:<br>
> <a href="
http://k8s.gcr.io/pause:3.6" rel="noreferrer" target="_blank">k8s.gcr.io/pause:3.6</a> StatsCollectPeriod:10 SystemdCgroup:false<br>
> EnableTLSStreaming:false X509KeyPairStreaming:{TLSCertFile: TLSKeyFile:}<br>
> MaxContainerLogLineSize:16384 DisableCgroup:false DisableApparmor:false<br>
> RestrictOOMScoreAdj:false MaxConcurrentDownloads:3 DisableProcMount:false<br>
> UnsetSeccompProfile: TolerateMissingHugetlbController:true<br>
> DisableHugetlbController:true DeviceOwnershipFromSecurityContext:false<br> > IgnoreImageDefinedVolumes:false NetNSMountsUnderStateDir:false<br>
> EnableUnprivilegedPorts:false EnableUnprivilegedICMP:false}<br>
> ContainerdRootDir:/var/lib/containerd<br>
> ContainerdEndpoint:/run/containerd/containerd.sock<br>
> RootDir:/var/lib/containerd/io.containerd.grpc.v1.cri<br>
> StateDir:/run/containerd/io.containerd.grpc.v1.cri}"<br>
> time="2022-12-10T12:15:42.036530498-05:00" level=info msg="Connect<br>
> containerd service"<br>
> time="2022-12-10T12:15:42.036627681-05:00" level=info msg="Get image<br>
> filesystem path<br>
> \"/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs\""<br>
> time="2022-12-10T12:15:42.036896077-05:00" level=error msg="failed to load<br>
> cni during init, please check CRI plugin status before setting up network<br>
> for pods" error="cni config load failed: no network config found in<br>
> /etc/cni/net.d: cni plugin not initialized: failed to load cni config"<br>
> time="2022-12-10T12:15:42.036986623-05:00" level=info msg="Start<br>
> subscribing containerd event"<br>
> time="2022-12-10T12:15:42.037028034-05:00" level=info msg="Start recovering<br>
> state"<br>
> time="2022-12-10T12:15:42.037035874-05:00" level=info msg=serving...<br>
> address=/run/containerd/containerd.sock.ttrpc<br>
> time="2022-12-10T12:15:42.037068181-05:00" level=info msg=serving...<br>
> address=/run/containerd/containerd.sock<br>
> time="2022-12-10T12:15:42.037085346-05:00" level=info msg="containerd<br>
> successfully booted in 0.015889s"<br>
> time="2022-12-10T12:15:42.037072303-05:00" level=info msg="Start event<br>
> monitor"<br>
> time="2022-12-10T12:15:42.037107987-05:00" level=info msg="Start snapshots<br>
> syncer"<br>
> time="2022-12-10T12:15:42.037119126-05:00" level=info msg="Start cni<br>
> network conf syncer for default"<br>
> time="2022-12-10T12:15:42.037127266-05:00" level=info msg="Start streaming<br>
> server"<br>
><br>
><br>
> Looking at resolv.conf<br>
><br>
> localhost /home/mansour # cat /etc/resolv.conf<br>
> # Generated by dhcpcd from wlp3s0.dhcp<br>
> # /etc/resolv.conf.head can replace this line<br>
> domain Home<br>
> nameserver 192.168.1.1<br>
> # /etc/resolv.conf.tail can replace this line<br>
><br>
> So, I added the following to my /etc/dhcpcd.conf<br>
> static domain_name_servers=8.8.8.8 8.8.4.4 192.168.1.1<br>
><br>
> And restarted dhcpcd:<br>
><br>
> localhost /home/mansour # cat /etc/resolv.conf<br>
> # Generated by dhcpcd from wlp3s0.dhcp<br>
> # /etc/resolv.conf.head can replace this line<br>
> domain Home<br>
> nameserver 8.8.8.8<br>
> nameserver 8.8.4.4<br>
> nameserver 192.168.1.1<br>
> # /etc/resolv.conf.tail can replace this line<br>
><br>
><br>
> docker.log still shows the same error:<br>
> time="2022-12-10T12:28:16.519126445-05:00" level=warning msg="Error getting<br>
> v2 registry: Get \"<a href="
https://registry-1.docker.io/v2/%5C" rel="noreferrer" target="_blank">
https://registry-1.docker.io/v2/\</a>": net/http: request<br>
> canceled while waiting for connection (Client.Timeout exceeded while<br> > awaiting headers)"<br>
> time="2022-12-10T12:28:16.519173944-05:00" level=info msg="Attempting next<br>
> endpoint for pull after error: Get \"<a href="
https://registry-1.docker.io/v2/%5C" rel="noreferrer" target="_blank">
https://registry-1.docker.io/v2/\</a>":<br>
> net/http: request canceled while waiting for connection (Client.Timeout<br>
> exceeded while awaiting headers)"<br>
> time="2022-12-10T12:28:16.520489790-05:00" level=error msg="Handler for<br>
> POST /v1.41/images/create returned error: Get \"<br>
> <a href="
https://registry-1.docker.io/v2/%5C" rel="noreferrer" target="_blank">
https://registry-1.docker.io/v2/\</a>": net/http: request canceled while<br>
> waiting for connection (Client.Timeout exceeded while awaiting headers)"<br>
><br>
> I am not able to login with "docker login"<br>
><br>
> Where do I look further for additional troubleshooting hints? Google didn't<br>
> help a lot.<br>
><br>
> Thank you.<br>
Hello,<br>
my first step would be checking if there is some inherent network<br>
problem reaching <a href="
http://registry-1.docker.io/v2" rel="noreferrer" target="_blank">registry-1.docker.io/v2</a>, e.g. via<br>
curl -v <a href="
https://registry-1.docker.io/v2/" rel="noreferrer" target="_blank">
https://registry-1.docker.io/v2/</a><br>
If that runs successfully, you could try if there is an MTU problem. I<br> remember that I had to set MTU to 1450 in some virtualized environment,<br> otherwise docker would not run correctly, i.e. I had in<br> /etc/conf.d/docer<br>
DOCKER_OPTS="--mtu=1450"<br>
Hope that gives you an idea what to look for.<br>
If both does not help, there is wireshark, to watch your network, very<br> low-level, but might give some hints.<br>
Cheers<br>
Andreas<br>
</blockquote></div>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)