-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please include NATS Tools in docker container #143
Comments
There is https://hub.docker.com/r/natsio/nats-box which contains the tools. |
hmm - didnt see that. |
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. |
This does not solve the problem when you need to check if the service is running. Or can you tell me how to check?
|
You can turn on monitoring (https://docs.nats.io/running-a-nats-service/configuration/monitoring) and then use curl to call the healthz endpoint. All endpoints: https://docs.nats.io/running-a-nats-service/nats_admin/monitoring |
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
The text was updated successfully, but these errors were encountered: