Is it possible to call the portainer agent from my own scripts?
traverseda opened this issue · comments
traverseda commented
I would like to use python to generate configs for an entire docker swarm. Unfortunately even with AGENT_SECRET
I can't figure out how to query the agent end points.
This would be used for generating swarm-wide nginx reverse proxy configs, similar to docker flow proxy, but would be generating from templates stored in the swarm's configs.
In order to do this I need access to the full list of containers on all swarm nodes, and I figure portainer agent is already doing that quite well.