nats-box icon indicating copy to clipboard operation
nats-box copied to clipboard

replace Dockerfile ENTRYPOINT with CMD

Open steevehook opened this issue 1 year ago • 0 comments

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 with CMD to allow external commands to overwrite it

image

steevehook avatar Jul 18 '22 09:07 steevehook