Export config as docker-compose for each host

Hi, may have missed this, but did search

Is there a way to export the entire config of a particular host/hosts as a docker-compose file, or even as a custom rancher config that can be uploaded to another rancher instance?


There is no way to export the config for a particular host. We allow exporting docker-compose and rancher-compose files of particular stacks (new term in current latest, v0.28.0) or projects (previous term). You can set up your project/stack and export the configuration. Using Rancher-compose, you can use a rancher-compose up command and import the configuration into Rancher. To assign services/containers to specific hosts, you can use host labels and scheduling rules in the service. The scheduling rules in the service will translate into scheduling using labels in rancher-compose.