raintank / raintank-docker

raintank docker images and dev stack DEPRECATED / UNMAINTAINED
https://blog.raintank.io/docker-based-development-environment/
16 stars 4 forks source link

make host names nice things #30

Closed Dieterbe closed 9 years ago

Dieterbe commented 9 years ago

annoy randomized hostnames are too annoying. especially when building dashboards, good luck making the dashboard work next docker run..

i see how docker-compose has container_name option, but that's just the docker container name. docker run has a -h flag for host name but that's not useable through docker-compose :?

woodsaj commented 9 years ago

https://docs.docker.com/compose/yml/

you can just add hostname field to your docker compose yaml (fig.yaml)

Dieterbe commented 9 years ago

patch is in tank, want to keep this open until it's in master (or in a branch that is guaranteed to be merged to master soon)