paypal / dce-go

Docker Compose Executor to launch pod of docker containers in Apache Mesos.
Apache License 2.0
63 stars 48 forks source link

Fixed extra hosts not populating in infra container #81

Closed sudheerit11 closed 4 years ago

sudheerit11 commented 4 years ago

Background: Docker-compose supports extra hosts for adding hosts to container.Docker-Compose-Spec Entries defined under extra hosts in docker-compose are added in /etc/hosts.


What this bug fixes: Prior to this fix if extra_hosts defined in manifest after file split dce was not adding extra_hosts section in compose files. This fix propagates extra_hosts from original manifest to auto generated manifest file so that container should have correct entries in /etc/hosts

JiaminZhu commented 4 years ago

Please provide some description of the bug you fixed.