You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to use amtool within alert manager docker image to be able to verify configuration passed to docker image before I will push it to Nexus.
> docker run -it --entrypoint=amtool prom/alertmanager:latest
What did you expect to see?
Help message returned by amtool script.
What did you see instead? Under which circumstances?
Error, which says that specific command doesn't exist.
docker: Error response from daemon: oci runtime error: container_linux.go:265: starting container process caused "exec: \"amtool\": stat amtool: no such file or directory".
Please note that this is actually done right now in Prometheus image:
> docker run -it --entrypoint=promtool prom/prometheus:latest
usage: promtool <command> [<args>]
Available commands:
check-config validate configuration files for correctness
check-metrics validate metrics for correctness
check-rules validate rule files for correctness
help prints this help text
version print the version of this binary
Environment
System information:
Linux 4.9.49-moby x86_64
Alertmanager version:
alertmanager, version 0.11.0 (branch: HEAD, revision: 30dd042)
build user: root@3e103e3fc918
build date: 20171116-17:43:56
go version: go1.9.2
The text was updated successfully, but these errors were encountered:
What did you do?
I'd like to be able to use
amtool
within alert manager docker image to be able to verify configuration passed to docker image before I will push it to Nexus.What did you expect to see?
Help message returned by amtool script.
What did you see instead? Under which circumstances?
Error, which says that specific command doesn't exist.
Please note that this is actually done right now in Prometheus image:
Environment
Linux 4.9.49-moby x86_64
alertmanager, version 0.11.0 (branch: HEAD, revision: 30dd042)
build user: root@3e103e3fc918
build date: 20171116-17:43:56
go version: go1.9.2
The text was updated successfully, but these errors were encountered: