Skip to content

Add support for build-time extra_hosts for Version 3 #6138

Closed

Description

@kinnalru

It work well for Version 2.3 since #5361 but invalid for Version 3

Activity

  1. shin- commented on Aug 15, 2018

    @shin-

    Welcome to the docker-compose issue tracker! Before creating an issue, please heed the following:

    1. This tracker should only be used to report bugs and request features / enhancements to docker-compose
    2. Use the search function before creating a new issue. Duplicates will be closed and directed to
      the original discussion.
    3. When making a bug report, make sure you provide all required information. The easier it is for
      maintainers to reproduce, the faster it'll be fixed.
  2. nlapshin commented on Nov 2, 2018

    @nlapshin

    Hello. Does this feature work in 3.x version?

    I use docker-compose version 3.7 and the extra host doesn't work at the build stage.

  3. burka commented on May 14, 2024

    @burka

    For anyone searching like me: It's solved in Version 3.9 docker/cli#2517 - you can add extra_hosts: in build: now.

  4. burka commented on May 14, 2024

    @burka

    For anyone searching like me: It's solved in Version 3.9 docker/cli#2517 - you can add extra_hosts: in build: now.

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