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

installed merbridge then docker pull image failed #359

Open
holooooo opened this issue Mar 13, 2024 · 4 comments
Open

installed merbridge then docker pull image failed #359

holooooo opened this issue Mar 13, 2024 · 4 comments

Comments

@holooooo
Copy link

holooooo commented Mar 13, 2024

Bug Description

Docker pull any image got same error:
docker pull busybox
Using default tag: latest
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp 54.198.86.24:443: connect: connection refused

But I can request it success by curl. And it will recovery immediately when I remove merbridge

Version

uname -a
Linux kube607 5.10.0-3.0.1.8.rc1 #18 SMP Mon Feb 26 11:26:14 CST 2024 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.1 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.1 LTS"
VERSION_ID="18.04"
@holooooo holooooo changed the title installed merbrige then docker pull image failed installed merbridge then docker pull image failed Mar 13, 2024
@kebe7jun
Copy link
Member

Sounds rather unlikely, if it's launching a Pod can it successfully pull the image?

@holooooo
Copy link
Author

holooooo commented Mar 13, 2024

Sounds rather unlikely, if it's launching a Pod can it successfully pull the image?

Thanks for replying! And the answer is No, that why I try docker pull image manually.
image
(The screenshot isn't complete, and it show nothing even docker pull in the ip which I input)

Its seems that the connection is capture by ebpf? I am a totally muggle in ebpf, is there any more information I can offer?

@holooooo
Copy link
Author

I tried nsenter into dockerd's net ns and curl the registry address, It's successed... There may exist some magic in dockerd pulling image..

@kebe7jun
Copy link
Member

By default, we will only process traffic that contains mesh sidecar, if it is from dockerd, we will not block it. You can try turning on debug mode and checking the output of /sys/kernel/debug/tracing/trace_pipe.

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