Skip to content

Conversation

@julianoes
Copy link
Collaborator

We can use getent hosts and awk to figure out the IP from a hostname. This is helpful when using the docker image as part of a docker compose setup with bridge network instead of host network.

Closes #30.

We can use `getent hosts` and `awk` to figure out the IP from a
hostname. This is helpful when using the docker image as part of a
docker compose setup with bridge network instead of host network.

Signed-off-by: Julian Oes <[email protected]>
Copy link
Owner

@JonasVautherin JonasVautherin left a comment

Choose a reason for hiding this comment

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

Thanks!

@JonasVautherin JonasVautherin merged commit 8ba0d0c into master Feb 25, 2024
@julianoes julianoes deleted the pr-hostname-to-ip branch February 27, 2024 16:18
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.

Custom hostnames and ports

3 participants