You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Workaround : when a Container starts, copy / paste hosts manually in its /etc/hosts before the application reads it (!), using docker exec -it container_name /bin/bash and vi (requires to add it in the Docker image).
My VirtualBox VM is the standard Boot2Docker (1.11.1-rc1 (TCL 7.0); HEAD : 903a352 - Tue Apr 26 14:18:06 UTC 2016) created by the Docker Studio when using a VirtualBox Compute, which provides a Docker version (1.11.1-rc1, build c90c70c) that is way newer than what is advised (1.8.3.0).
When one of its Docker container is started, its /etc/hosts is reduced to itself (its IP & hostname). But on OW2's Open Stack infrastructure, it rightly contains also IPs & hostnames of all other containers within the VM (even if not linked together).
UPDATE: I've deleted my Boot2Docker 1.11 VM since I had downgraded to docker 1.8.3 since its creation back then and let the Docker Studio create a new one, but it's again 1.11 ! => so how to get an 1.8.3 Boot2Docker VM ???
The text was updated successfully, but these errors were encountered:
Maybe it's not useful anyway since it should work WITHOUT hostnames being in /etc/hosts as said in #121 --add-host (the source container of a Docker link sees the host of its target container allright) ?
Workaround : when a Container starts, copy / paste hosts manually in its /etc/hosts before the application reads it (!), using docker exec -it container_name /bin/bash and vi (requires to add it in the Docker image).
My VirtualBox VM is the standard Boot2Docker (1.11.1-rc1 (TCL 7.0); HEAD : 903a352 - Tue Apr 26 14:18:06 UTC 2016) created by the Docker Studio when using a VirtualBox Compute, which provides a Docker version (1.11.1-rc1, build c90c70c) that is way newer than what is advised (1.8.3.0).
When one of its Docker container is started, its /etc/hosts is reduced to itself (its IP & hostname). But on OW2's Open Stack infrastructure, it rightly contains also IPs & hostnames of all other containers within the VM (even if not linked together).
UPDATE: I've deleted my Boot2Docker 1.11 VM since I had downgraded to docker 1.8.3 since its creation back then and let the Docker Studio create a new one, but it's again 1.11 ! => so how to get an 1.8.3 Boot2Docker VM ???
The text was updated successfully, but these errors were encountered: