EventStore icon indicating copy to clipboard operation
EventStore copied to clipboard

Documentation: Following pull and run instruction leads to crash [eventstore-docker#82]

Open arwinneil opened this issue 5 years ago • 0 comments

Originally opened by @horsdal at eventstore-docker#82

I followed the instructions in the readme to docker pull and docker run --name eventstore-node -it -p 2113:2113 -p 1113:1113 eventstore/eventstore but the image failed during start up with this exception:

    1, 1,05:52:34.242,INF] Quorum size set to 1
[    1, 1,05:52:34.245,FTL] Host terminated unexpectedly.
System.Exception: A TLS Certificate is required unless development mode (--dev) is set.
   at EventStore.ClusterNode.ClusterVNodeHostedService.BuildNode(ClusterNodeOptions options) in /build/src/EventStore.ClusterNode/ClusterVNodeHostedService.cs:line 378
   at EventStore.ClusterNode.ClusterVNodeHostedService.Create(ClusterNodeOptions opts) in /build/src/EventStore.ClusterNode/ClusterVNodeHostedService.cs:line 174
   at EventStore.Core.EventStoreHostedService`1..ctor(String[] args) in /build/src/EventStore.Core/EventStoreHostedService.cs:line 43
   at EventStore.ClusterNode.ClusterVNodeHostedService..ctor(String[] args) in /build/src/EventStore.ClusterNode/ClusterVNodeHostedService.cs:line 34
   at EventStore.ClusterNode.Program.Main(String[] args) in /build/src/EventStore.ClusterNode/Program.cs:line 20

I solved it by adding -e EVENTSTORE_DEV=true to my docker run, but I am not sure that's good solution. But I would suggest putting something in the readme about troubleshooting this issue.

This was on a Win10 machine, using Docker Desktop with WSL as backend.

See original thread

arwinneil avatar Aug 25 '20 16:08 arwinneil