librenms / docker

LibreNMS Docker image
MIT License
692 stars 280 forks source link

Unable to pull docker container #408

Open js333031 opened 1 year ago

js333031 commented 1 year ago

Support guidelines

I've found a bug and checked that ...

Description

Tried building based on github instructions. Got similar error as trying to pull the image directly...

~$ docker pull librenms/librenms Using default tag: latest Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 10.0.2.3:53: read udp 10.0.2.100:42752->10.0.2.3:53: i/o timeout

Expected behaviour

Being able to pull the container

Actual behaviour

~$ docker pull librenms/librenms Using default tag: latest Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 10.0.2.3:53: read udp 10.0.2.100:42752->10.0.2.3:53: i/o timeout

Steps to reproduce

docker pull librenms/librenms

Docker info

`$ docker info
Client:
 Version:    24.0.5
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.11.2
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.20.2
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 9
  Running: 0
  Paused: 0
  Stopped: 9
 Images: 4
 Server Version: 24.0.5
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: false
  userxattr: true
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 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 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 1677a17964311325ed1c31e2c0a3589ce6d5c30d
 runc version: v1.1.8-0-g82f18fe
 init version: de40ad0
 Security Options:
  seccomp
   Profile: builtin
  rootless
  cgroupns
 Kernel Version: 6.2.0-33-generic
 Operating System: Ubuntu 22.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 14.58GiB
 Name: nuci5
 ID: f620317e-2f02-4108-8a78-702006c22214
 Docker Root Dir: /home/test/.local/share/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Product License: Community Engine

WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
WARNING: No cpu shares support
WARNING: No cpuset support
WARNING: No io.weight support
WARNING: No io.weight (per device) support
WARNING: No io.max (rbps) support
WARNING: No io.max (wbps) support
WARNING: No io.max (riops) support
WARNING: No io.max (wiops) support
test@nuci5:~$`

Docker Compose config

No response

Logs

$ LOG_LEVEL=debug docker pull librenms/librenms
Using default tag: latest
Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 10.0.2.3:53: read udp 10.0.2.100:45283->10.0.2.3:53: i/o timeout
test@nuci5:~$

Additional info

No response

sandnabba commented 10 months ago

Hi!

This looks like a general DNS issue in your Docker instance: lookup registry-1.docker.io on 10.0.2.3:53: read udp 10.0.2.100:42752->10.0.2.3:53: i/o timeout

Have you tried running the "Hello world" container? https://hub.docker.com/_/hello-world