Docker example failure to start.
Opened this issue · 1 comments
themsay commented
I'm having an issue testing Goddd demo app, after watching presentation https://www.youtube.com/watch?v=twcDf_Y2gXY.
Any idea what can possibly be the issue? Thanks in advance for your time.
# Start routing service - in terminal 1 pass
> docker run --name some-pathfinder marcusolsson/pathfinder
Unable to find image 'marcusolsson/pathfinder:latest' locally
latest: Pulling from marcusolsson/pathfinder
911c6d0c7995: Pull complete
1edb6ba6b964: Pull complete
fad95b9d855a: Pull complete
0dd6a60995af: Pull complete
Digest: sha256:1829ebcaf75240aec855f43e87b6d4f6214493a509c7ab0a2cc03da40788761f
Status: Downloaded newer image for marcusolsson/pathfinder:latest
ts=2018-09-16T14:13:24.3559957Z transport=http address=:8080 msg=listening
# Start application - in terminal 2 fail
> docker run --name some-goddd \
> --link some-pathfinder:pathfinder \
> -p 8080:8080 \
> -e ROUTINGSERVICE_URL=http://pathfinder:8080 \
> marcusolsson/goddd /goddd -inmem
Unable to find image 'marcusolsson/goddd:latest' locally
latest: Pulling from marcusolsson/goddd
911c6d0c7995: Already exists
bf860b7c31a6: Pull complete
7e1a6e706574: Pull complete
9b451e13c5e3: Pull complete
51256e166ac3: Pull complete
2035a10c322a: Pull complete
Digest: sha256:7665533494bf93ea512ec7e6fda4618c319c71013d0a663235df745c940354be
Status: Downloaded newer image for marcusolsson/goddd:latest
panic: no reachable servers
goroutine 1 [running]:
main.main()
/go/src/github.com/marcusolsson/goddd/cmd/shippingsvc/main.go:74 +0x1dc2
Changing port 8080 -e ROUTINGSERVICE_URL=http://pathfinder:8080
to -e ROUTINGSERVICE_URL=http://pathfinder:7878
still have the same result.
tarekbadrshalaan commented
remove /goddd
from docker command
i created PR about #27