Docker problem Temporary failure resolving 'deb.debian.org'

  • Hi,

    Using OMV5

    Trying to setup wyzecam-bridge docker.

    When running composer get this error.


    Building with native build. Learn about native build in Compose here: https://docs.docker.com/go/compose-native-build/

    Building wyzecam-bridge

    Sending build context to Docker daemon 17.92kB


    Step 1/8 : FROM python:3.9-slim

    ---> c2f204720fdd

    Step 2/8 : RUN apt-get update && apt-get install ffmpeg unzip g++ -y && rm -rf /var/lib/apt/lists/*

    ---> Running in 1d5000af3b8b

    Err:1 http://deb.debian.org/debian buster InRelease

    Temporary failure resolving 'deb.debian.org'

    Err:2 http://security.debian.org/debian-security buster/updates InRelease

    Temporary failure resolving 'security.debian.org'

    Err:3 http://deb.debian.org/debian buster-updates InRelease

    Temporary failure resolving 'deb.debian.org'

    Reading package lists...

    W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease Temporary failure resolving 'deb.debian.org'

    W: Failed to fetch http://security.debian.org/deb…/buster/updates/InRelease Temporary failure resolving 'security.debian.org'

    W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease Temporary failure resolving 'deb.debian.org'

    W: Some index files failed to download. They have been ignored, or old ones used instead.

    Reading package lists...

    Building dependency tree...

    Reading state information...

    E: Unable to locate package ffmpeg

    E: Unable to locate package unzip

    The command '/bin/sh -c apt-get update && apt-get install ffmpeg unzip g++ -y && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

    ERROR: Service 'wyzecam-bridge' failed to build


    How can i solve the

    Err:1 http://deb.debian.org/debian buster InRelease

    Temporary failure resolving 'deb.debian.org'

    Thanks

  • Here is the results.

    Running in terminal OMV5.

    Thanks

    Code
    ping -c 4 8.8.8.8
    PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
    64 bytes from 8.8.8.8: icmp_seq=1 ttl=114 time=17.0 ms
    64 bytes from 8.8.8.8: icmp_seq=2 ttl=114 time=17.0 ms
    64 bytes from 8.8.8.8: icmp_seq=3 ttl=114 time=16.9 ms
    64 bytes from 8.8.8.8: icmp_seq=4 ttl=114 time=17.0 ms
    --- 8.8.8.8 ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 7ms
    rtt min/avg/max/mdev = 16.916/16.992/17.049/0.139 ms
    Code
    ping -c 4 google.com
    PING google.com (172.217.19.78) 56(84) bytes of data.
    64 bytes from ham02s17-in-f14.1e100.net (172.217.19.78): icmp_seq=1 ttl=116 time=24.0 ms
    64 bytes from ham02s17-in-f14.1e100.net (172.217.19.78): icmp_seq=2 ttl=116 time=24.0 ms
    64 bytes from ham02s17-in-f14.1e100.net (172.217.19.78): icmp_seq=3 ttl=116 time=24.0 ms
    64 bytes from ham02s17-in-f14.1e100.net (172.217.19.78): icmp_seq=4 ttl=116 time=23.9 ms
    --- google.com ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 6ms
    rtt min/avg/max/mdev = 23.901/23.992/24.041/0.164 ms
    Code
    ls -al /etc/resolv.conf
    lrwxrwxrwx 1 root root 32 Mar 20 09:55 /etc/resolv.conf -> /run/systemd/resolve/resolv.conf
  • Everything looks fine. DNS is working. google.com can be resolved.

    Maybe you just needed to wait a bit. Is it working now?

    Thanks for checking.

    No I m not able to run this docker container.

    Have other that just run fine.

    Once more thanks fort taking your time Macom.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!