-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Was curl removed in the latest minio image? #18373
Comments
#18313 We have replaced the base image. |
@jiuker Thanks for the quick reply! What command can I use for healthcheck? |
Yes we moved to UBI micro that does not ship curl you can use this instead
|
@harshavardhana It worked, thanks! |
This comment was marked as outdated.
This comment was marked as outdated.
Don't do what is recommended here ^^ - embrace |
Doesn't work for me. Getting "The cluster is not ready" but everything seems fine and usable. |
Or use this
|
See minio/minio#18373 (comment). Breaking change in upstream minio container. Instead of replacing the healthcheck everywhere, we're moving it to a script instead so that one place can be called, and if the healthcheck is ever updated in the future, we only need to do so in one place.
If you use There doesn't appear to be a way to pass the port into the mc command without setting an Alias. So you have to update the alias for The default docker-entrypoint style of starting the container doesn't let you run the I tried setting the alias every single time the healthcheck ran, but that didn't work, I'm not sure exactly why. It appears that the first time mc runs it needs to do some intialization and that initialization doesn't seem to work from the healthcheck command. By default the alias is found in the Or, don't use the off-the-shelf image, or never change from the default port. :-( |
FWIW, volume mounting just the customized config.json does the trick. |
Since the new MinIO switched their base images, cURL is no longer available. Updated the healthcheck command, following their suggestion from: minio/minio#18373 (comment)
NOTE
If this case is urgent, please subscribe to Subnet so that our 24/7 support team may help you faster.
I'm not sure if this is a bug, but it looks like curl was removed in the latest minio image:
Build output:
I found this while investigating mlflow/mlflow#10268 where one of our tests failed because healthcheck with
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
is faling.Expected Behavior
Current Behavior
Possible Solution
Steps to Reproduce (for bugs)
Context
Regression
Your Environment
minio --version
):uname -a
):The text was updated successfully, but these errors were encountered: