nats-io / nats-box

A container with NATS utilities
Apache License 2.0
105 stars 32 forks source link

replace Dockerfile ENTRYPOINT with CMD #34

Closed steevehook closed 1 year ago

steevehook commented 1 year ago

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
caleblloyd commented 1 year ago

Fixed in #47