Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Docker example failure to start. #26

Open
@themsay

Description

@themsay

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions