Skip to content

fix docker compose yaml to get hostname properly#1108

Merged
ssalinas merged 1 commit into
masterfrom
compose_hostname
Jun 22, 2016
Merged

fix docker compose yaml to get hostname properly#1108
ssalinas merged 1 commit into
masterfrom
compose_hostname

Conversation

@ssalinas

Copy link
Copy Markdown
Contributor

As mentioned in #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 7dffb17 into master Jun 22, 2016
@ssalinas ssalinas deleted the compose_hostname branch June 22, 2016 13:49
@ssalinas ssalinas added this to the 0.9.0 milestone Jul 29, 2016
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