nats-io / nats-docker

Official Docker image for the NATS server
Apache License 2.0
132 stars 44 forks source link

Please include NATS Tools in docker container #143

Open ryn9 opened 6 months ago

ryn9 commented 6 months ago

It would be helpful to have the nats and nats-top commands available in the container.

That way, we could execute the following to interface with the running instance: docker exec -it CONTAINER_NAME nats docker exec -it CONTAINER_NAME nats-top

references: https://docs.nats.io/using-nats/nats-tools/nats_cli https://docs.nats.io/using-nats/nats-tools/nats_top

jnehlmeier commented 6 months ago

There is https://hub.docker.com/r/natsio/nats-box which contains the tools.

ryn9 commented 6 months ago

hmm - didnt see that. Maybe reference that in the readme of this effort?

jnehlmeier commented 6 months ago

Indeed it is a bit hard to discover. I stumbled upon it while reading https://docs.nats.io/running-a-nats-service/nats_docker#testing-the-clusters

I think there should be an additional docker section/page in https://docs.nats.io/using-nats/nats-tools to mention it.