Skip to content

dns_option missing from compose schema #1557

Closed

Description

@ps-jay

dns_option missing from the schema for compose

As discussed in docker/compose#5010 (comment), in order for Docker Compose to support an option provided by docker run, it needs to be added to the compose schema in this repository.

Could that be done, so that we may use the functionality to provide DNS options when using Docker Compose?

Steps to reproduce the issue:

  1. Observe that dns and dns_search are in the schemas, but dns_option is not

Describe the results you received:
n/a

Describe the results you expected:
n/a

Additional information you deem important (e.g. issue happens only occasionally):
n/a

Output of docker version:
n/a

Output of docker info:
n/a

Additional environment details (AWS, VirtualBox, physical, etc.):
n/a

Activity

  1. AgentOak commented on Nov 7, 2019

    @AgentOak

    Any update on this? dns_opt is still desperately needed to work around gliderlabs/docker-alpine#255

    This option was supported perfectly fine in in docker-compose V2: https://docs.docker.com/compose/compose-file/compose-file-v2/#dns_opt, but has gone missing in V3 for no apparent reason.

    Blocks issues: docker/compose#6680, docker/compose#5010

  2. jbkoh commented on Mar 4, 2021

    @jbkoh

    I'm pinging this thread as it's already 2 years old.

  3. ndeloof commented on Jun 14, 2021

    @ndeloof
    Contributor

    Compose file format is now manage as part of the compose specification, feel free to open an issue and discuss defining this attribute http://github.com/compose-spec/compose-spec/issues
    Then we can add support into docker/compose-cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions