Open 130s opened 3 years ago
There's not a plan for a rocker compose. Though I've been thinking about how to store required rocker arguments in the images using labels.
You could also write an extension that adds command line arguments specific to your workflow.
If you have a specific application which needs a bunch of standard arguments rocker is designed to be able to be extended with alternative entry points. For example I've written ghrocker: https://github.com/tfoote/ghrocker that takes advantage of the rocker API not the CLI.
Issue
By passing options,
rocker
shell command can be easily long and messy. Long commands and options can be prone to error. Users complain.To help visualizing issue, I have a command that looks like this (note this example uses
--volume
option that's not yet merged https://github.com/osrf/rocker/pull/142). I'm sure there can be apps with more complexed commands:Potential resolution
rocker-compose
effort somewhere?". At minimum, the motivation of me saying is likely very simular why Docker community came up withcompose
.rocker
can add more maintenance obviously.rocker
be passed todocker-compose
? That sounds nice but I don't know if it's easily done...rocker
re-defines some CLI arguments that are also defined in Docker CLI so I'm afraid passing args as-is not possible, hence my opinion earlier.