-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
[BUG] app_protocol
and mode
settings of long syntax in service ports section have no effect
#11909
Comments
|
Need to check about |
I am was uncertain, as the documentation is slightly ambiguous about it:
What exactly does it do then? And what are the protocols it understands? Regarding On that note,:the default behavior in Docker 26.x.x looks like what we know from May I ask what the intended implementation for |
This was introduced in the compose specification for parity with Kubernetes model and potential future improvements. This is unused for now in docker compose About While the spec is confusing as such attributes comes from distinct sources and are not all implemented, what are you trying to achieve here ? |
My main objective is to prevent end user confusion :) Back in the day when we had the v2 and v3 schema reference, I felt it helped a great deal that it pointed out when a particular feature was not available for swarm stack deployments, even though it was part of the schema version. I kind of miss that in the current compose specification docs. I understand they refer to the specs themselves. I assume most users use |
swarm does not use compose-specification, so you won't find any detail on supported feature unfortunately. |
Description
Current behavior:
app_protocol
andmode
are silently ignored and do not end up in created containersmode: host
-> Docker 26.1.4: retains the remote ip, Docker < 26.0.0: uses bridge network gateway ipmode: ingress
Docker 26.1.4 retains the remote ip, Docker < 26.0.0: uses bridge network gateway ipmode: host
. For Docker version < 26.0.0 the behavior matches the documentationExpected behavior with Docker 26.1.4 and later:
app_protocol
andmode
end up in created containers and have an effect, or at least inform the user they are not appliedmode: host
retains the source/remote ipmode: ingress
does not retain the remote ip, but supports replicasmode: ingress
is default)Steps To Reproduce
docker compose up -d
Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: