-
Notifications
You must be signed in to change notification settings - Fork 115
Description
Whilst working on https://github.com/nats-io/go-nats-streaming/issues/242 and simple startup, I have observed this discrepancy.
in the documentation, it appears that nats-streaming-server command is added on docker run statement. However, i found out that this fails the startup. The following steps worked for me to successfully start nats-streaming container (same is true for NATS server.
docker run --rm -ti --name gnatsd-streamer -p 4223:4223 -p 8223:8223 -v /home/docker/streamer_conf.conf:/streamer_conf.conf -v /home/docker/streamer1:/streamer1 nats-streaming:latest -p 4223 -m 4223 -c /streamer_conf.conf
It started the NATS streaming server and I can also pub/sub to this. I believe the documentation for Windows Docker Image needs to be corrected here:
https://hub.docker.com/_/nats-streaming/
** What happens when I run with nats-streaming-server**
PS C:\Users\XXXX> docker run --rm -ti --name gnatsd-streamer -p 4223:4223 -p 8223:8223 nats-streaming:latest nats-streaming-server -p 4223 -m 8223
unrecognized command: "nats-streaming-server"
PS C:\Users\XXXX>
Could someone verify this?
Thanks,