You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
This should have been created on https://github.com/nats-io/nats-streaming-docker/issues.
As I explained yesterday on the other issue (see this comment), the absence of entry point (reason why it is not defined is explained in official-images PR) required the executable name to be passed to the docker run command if any additional parameter were needed.
It may be that your version of the docker server is more recent than mine and has solved that problem, but I still confirm that I need to specify nats-streaming-server in order to pass arguments. I may update the docker hub doc if I find which docker version is required to not have to pass the exe name.
Here is the screen capture of passing the -p 4223 argument without specifying the exe, followed by docker version:
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 ondocker run
statement. However, i found out that this fails the startup. The following steps worked for me to successfully startnats-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**
Could someone verify this?
Thanks,
The text was updated successfully, but these errors were encountered: