-
Notifications
You must be signed in to change notification settings - Fork 100
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
Healthcheck script #91
Comments
The following works on alpine:
Source: https://book.hacktricks.xyz/network-services-pentesting/11211-memcache |
And the following works on debian:
|
@LaurentGoderre Wow, thanks a lot, just what I've needed! (couldn't figure out the 'bidirectional' I've added timeout to your debian command, so it will not block (just need to figure out the clean way to get the exit code) echo "version" | (exec 3<>/dev/tcp/localhost/11211; cat >&3; timeout 0.1 cat <&3; exec 3<&-) If it's ok with you I'd like to create PR to update the documentation of the image (later when I get some free time) |
Absolutely! That would be awesome! |
@tianon an example could be created here then: https://github.com/docker-library/healthcheck |
Agreed! Does |
As a developer I'd like to have a way to issue a health check on memcached container without modifying the base image (base image has no
telnet
nornc
)The text was updated successfully, but these errors were encountered: