SteeltoeOSS / Tooling

Steeltoe developer tool collection
https://steeltoe.io/
Apache License 2.0
12 stars 7 forks source link

Services running in Docker do not expose their ports #10

Closed ccheetham closed 6 years ago

ccheetham commented 6 years ago

E.g,:

% steeltoe start-service MyConfigServer

% docker ps
CONTAINER ID        IMAGE                      COMMAND                  CREATED             STATUS              PORTS               NAMES
a2dc22068d0a        steeltoeoss/configserver   "java -jar configser…"   6 seconds ago       Up 6 seconds        8888/tcp            MyConfigServer

% telnet localhost 8888
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
cf-gitbot commented 6 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/160002718

The labels on this github issue will be updated when the story is started.