-
Notifications
You must be signed in to change notification settings - Fork 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
nomad 1.9.0 fails to negotiate docker API version if endpoint argument is set #24212
Comments
Hi @waldemarmeier, thanks for reporting this. I'll look into the issue asap. |
Same as #24181 (comment) |
hi @waldemarmeier, I merged a fix to main, it'll be released soon with 1.9.1. |
Thanks @pkazmierczak ! |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Hi there,
it seems that nomad 1.9.0 fails to negotiate the docker API version with the daemon if the endpoint argument is set in the task driver configuration. It breaks the support for the docker task driver.
It correlates with setting the
endpoint
argument in the plugin stanza:https://github.com/hashicorp/nomad/blob/61dd1f3f1090f8ba74be58afbfacd586f472b8b2/drivers/docker/driver.go#L1943C27-L1943C44
Further, the
DOCKER_API_VERSION
env variable is ignored as well. If this behavior is intentioned it should documented somewhere.Nomad version
Operating system and Environment details
AWS EC2 running amazon linux 2023
Issue
Reproduction steps
docker-25.0.6-1.amzn2023.0.2.src.rpm
Expected Result
If the endpoint argument is set the nomad docker task driver should negotiate the API version with the docker daemon or at least respect the DOCKER_API_VERSION environment variable. If this behavior is intentional it should be documented.
Actual Result
Nomad fails to negotitate the API version if endpoint argument is set
Job file (if appropriate)
not needed
Nomad Server logs (if appropriate)
not needed
Nomad Client logs (if appropriate)
With endpoint argument set
without endpoint argument
Setting the
DOCKER_API_VERSION
environment variable does not make a diffrence.The text was updated successfully, but these errors were encountered: