Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix docker compose yaml to get hostname properly #188

Merged
merged 1 commit into from
Jun 22, 2016
Merged

Conversation

ssalinas
Copy link
Member

As mentioned in HubSpot/Singularity#1107 , for newer docker versions grabbing the hostname via InetAddress does not work when running the container in host mode. This adds a way to set the hostname via an environment variable, and will automatically find it for you when using docker-compose (i.e. DOCKER_HOST var is passed in)

@ssalinas ssalinas merged commit 070920b into master Jun 22, 2016
@ssalinas ssalinas deleted the compose_hostname branch June 22, 2016 13:49
@ssalinas ssalinas modified the milestone: 0.5.0 May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant