You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The v3 format is controlled and updated on the docker/cli repo (as the primary intention of the v3 format is to work with docker stack deploy), so it needs to be proposed there first before we can port the change back into the docker-compose codebase. For the change to be accepted in docker/cli, it would probably require an implementation of the feature for Swarm services (which seems to exist at the API level, so shouldn't be too daunting to add).
Activity
shin- commentedon Jul 13, 2017
Please submit v3 feature requests on the docker/cli repo.
maciejmatuszak commentedon Nov 27, 2018
Hi @shin- the docker cli already implements the --dns-opt or --dns-option. The docker-compose dns-opt is in V2 https://docs.docker.com/compose/compose-file/compose-file-v2/#dns_opt but is not V3. What would it take to implement/port it from V2 to V3?
shin- commentedon Nov 27, 2018
The v3 format is controlled and updated on the
docker/clirepo (as the primary intention of the v3 format is to work withdocker stack deploy), so it needs to be proposed there first before we can port the change back into thedocker-composecodebase. For the change to be accepted indocker/cli, it would probably require an implementation of the feature for Swarm services (which seems to exist at the API level, so shouldn't be too daunting to add).ps-jay commentedon Dec 10, 2018
Hi @shin-,
I'm trying to understand what you mean by the "v3 format is controlled and updated on the
docker/clirepo".What file(s), should I look at in
docker/clito see what is (or should be) supported by compose?From what I can see,
--dns-optionis already in thedocker runCLI (see: docker/cli@ebacbb5), but it's not available in compose.Should we raise an issue in
docker/clithatdns_optionis not also available in the v3 format?shin- commentedon Dec 10, 2018
https://github.com/docker/cli/tree/master/cli/compose/schema/data
Yes.
ps-jay commentedon Dec 10, 2018
Thanks @shin-,
I've opened an issue in docker/cli.
phyrwork commentedon Sep 2, 2021
Looks like this has been implemented since 1.27.0
ilayarajamurugesan-alation commentedon Sep 2, 2021
@phyrwork Don't think this is related to the docker-compose version. The compose file version 3 still doesn't support
dns_opt: https://docs.docker.com/compose/compose-file/compose-file-v3/phyrwork commentedon Sep 2, 2021
Well docker-compose 1.27+ with schema 3.9+ can certainly inject dns_opt 🤯