Rancher catalog tweaking

hi all,

i’ve wondering if it’s possible to create a rancher-catalog that would only fire commands on already started containers ?

commands would be something like:
" curl …"
" import …"

and then add labels to these already running containers ?
do you think this can be achievable ?


@xinity this should be doable, passing in variables of the services youre looking to interact with or consume.

I have been toying with the idea of something to backup data for running containers as a catalog entry as well.

We have been playing a little with a docker based backup implementation that creates backups of a running container’s volumes.

Having something like this in the catalog - maybe also using Rancher metadata to handle what gets backed, how often and where to would be really neat.