Skip to content

Docker-compose add-host option #6355

@nlapshin

Description

@nlapshin

There is an option 'add-host' in docker, it allows to add hostname exactly during container assembly. Is there an implementation of this option for docker-compose?

I've seen the this question was discussed in issue #5282 But it is closed and there is no practical sample that works.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions