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

added a HOST variable to docker containers #185

Merged
merged 4 commits into from
Jan 26, 2016
Merged

added a HOST variable to docker containers #185

merged 4 commits into from
Jan 26, 2016

Conversation

mjksmith
Copy link
Contributor

Docker containers created by local_run will now have a $HOST variable containing the hostname of the machine the container is running on.

@mjksmith mjksmith self-assigned this Jan 25, 2016
@@ -566,6 +569,11 @@ def get_instance_config(service, instance, cluster, soa_dir, load_deployments=Fa
)


def get_hostname():
(_, hostname) = _run('hostname')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh, socket.getfqdn would be ok

@Rob-Johnson
Copy link
Contributor

lg2m. 🚢

mjksmith added a commit that referenced this pull request Jan 26, 2016
added a HOST variable to docker containers
@mjksmith mjksmith merged commit 61ccddd into master Jan 26, 2016
@mjksmith mjksmith deleted the PAASTA-1235 branch January 26, 2016 18:11
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.

3 participants