Tried referring to the nats binary without SHELL-ing into the box and it gave me the following error.
docker run --rm natsio/nats-box:latest /usr/local/bin/nats stream add stream_name
Solution
My recommendation is to replace ENTRYPOINT with CMD to allow external commands to overwrite it
Issue
Tried referring to the
nats
binary without SHELL-ing into the box and it gave me the following error.docker run --rm natsio/nats-box:latest /usr/local/bin/nats stream add stream_name
Solution
My recommendation is to replace
ENTRYPOINT
withCMD
to allow external commands to overwrite it