What is the equivalent of `docker-compose run` in rancher?

This question has been asked 2 years ago, there was no answer, I’d like to make it again: how can I run an equivalent command of docker-compose run in rancher?

Thanks for the patience!

The closest equivalent is rancher exec in rancher-cli (not rancher-compose) into one of the existing containers. docker-compose run is an odd command with unexpected side effects (changing the state of linked containers) and no clear meaning in a multi-host environment (volumes from which container on which host?).