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

Wait.forListeningPort() does not work for distroless images #3835

Closed
lgathy opened this issue Feb 25, 2021 · 3 comments
Closed

Wait.forListeningPort() does not work for distroless images #3835

lgathy opened this issue Feb 25, 2021 · 3 comments

Comments

@lgathy
Copy link

lgathy commented Feb 25, 2021

Since distroless images do not contain a shell, the InternalCommandPortListeningCheck fails when called from HostPortWaitStrategy.
Would it be possible to make this check either optional or check if the files /bin/sh and /bin/bash exist inside the container before doing the checks?

@vcvitaly
Copy link
Contributor

Relates to #3317

@jesperancinha
Copy link

I had an issue like this recently. I changed this to a health check and now it works. We did had to figure out a way to do the health check, but it works now.

@eddumelendez
Copy link
Member

Closing as duplicated

@eddumelendez eddumelendez closed this as not planned Won't fix, can't repro, duplicate, stale Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants