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
When i try using docker port map feature, both variables NOMAD_PORT_label and NOMAD_HOST_PORT_label within docker container have the same value.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES aa1d3bd0d717 redis:latest "docker-entrypoint.sh" 6 minutes ago Up 5 minutes 10.1.5.113:20331->6379/tcp, 10.1.5.113:20331->6379/udp redis-b46241d3-1668-54d6-6667-ce6a4c910d9c
I expected NOMAD_PORT_label to be "6379" and NOMAD_HOST_PORT_label to be "20331" in this case. But they all are "6379".
Reproduction steps
nomad init
nomad run example.nomad
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Nomad version
Nomad v0.3.2
Ubuntu trusty
docker-engine 1.11.2-0~precise
Issue
When i try using docker port map feature, both variables NOMAD_PORT_label and NOMAD_HOST_PORT_label within docker container have the same value.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
aa1d3bd0d717 redis:latest "docker-entrypoint.sh" 6 minutes ago Up 5 minutes 10.1.5.113:20331->6379/tcp, 10.1.5.113:20331->6379/udp redis-b46241d3-1668-54d6-6667-ce6a4c910d9c
I expected NOMAD_PORT_label to be "6379" and NOMAD_HOST_PORT_label to be "20331" in this case. But they all are "6379".
Reproduction steps
nomad init
nomad run example.nomad
The text was updated successfully, but these errors were encountered: