Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx stable and latest lost networking after the latest container release #601

Closed
clickbg opened this issue Nov 17, 2021 · 5 comments
Closed

Comments

@clickbg
Copy link

clickbg commented Nov 17, 2021

After the container upgrade in the past few days all our previously working containers suddenly lost network connectivity. This seems to affect both latest and stable, for which the container was upgraded a few days ago. Alpine, for which the image is a bit older is working fine.

Host: Raspbian
Arch: ARM - RPI4

root@juno:~# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
nginx stable b806e477d1cc 5 hours ago 109MB
nginx latest 4aa417b5bbfb 5 hours ago 109MB
nginx alpine 062e12983452 4 days ago 16MB
nginx 1.21.0 a2e43f88ed53 4 months ago 103MB

root@juno:~# docker run -it --rm nginx:latest /bin/bash
root@b950816588c8:/# curl google.com
curl: (28) Resolving timed out after 1094587810065 milliseconds

root@juno:~# docker run -it --rm nginx:stable /bin/bash
root@8efd17fa6cae:/# curl google.com
curl: (28) Resolving timed out after 1091446178065 milliseconds

root@juno:~# docker run -it --rm nginx:1.21.0 /bin/bash
root@2c75bf87a97b:/# curl google.com

<TITLE>301 Moved</TITLE>

301 Moved

The document has moved here.
@thresheek
Copy link
Collaborator

thresheek commented Nov 17, 2021

What is the docker version you run on the host? I cant seem to reproduce on docker 5:19.03.153-0raspbian-stretch on my rpi4 running raspbian.

@clickbg
Copy link
Author

clickbg commented Nov 17, 2021

Hi, seems to be a bit newer, I am also using the Docker package from docker.com

root@juno:# docker --version
Docker version 20.10.10, build b485636
root@juno:
# dpkg -l | grep docker
ii docker-ce 5:20.10.103-0debian-buster armhf Docker: the open-source application container engine
ii docker-ce-cli 5:20.10.103-0debian-buster armhf Docker CLI: the open-source application container engine
ii docker-ce-rootless-extras 5:20.10.103-0debian-buster armhf Rootless support for Docker.
ii docker-compose 1.21.0-3 all Punctual, lightweight development environments using Docker
root@juno:~# cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster

Thanks for the fast reply!

@thresheek
Copy link
Collaborator

What's the libseccomp version you have? Can you try updating it?

debuerreotype/docker-debian-artifacts#106
and debuerreotype/docker-debian-artifacts#97 might be related.

@clickbg
Copy link
Author

clickbg commented Nov 17, 2021

Yes, that fixed it! I used the backports version 2.5.1.1 since the unstable repo is a bit scary for me. For anyone hitting the same:

  1. Add the Raspbian Buster-backports repo - https://backports.debian.org/Instructions/ or https://jackstromberg.com/2021/07/how-to-add-buster-backports-to-a-raspberry-pi/
  2. Install libseccomp2/buster-backports
    apt-get -y install libseccomp2/buster-backports
  3. Restart all affected containers

Thank you @thresheek

@thresheek
Copy link
Collaborator

Perfect. Glad this helped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants