You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 #142). I'm sure there can be apps with more complexed commands:
I'm tempted to ask "Is there a rocker-compose effort somewhere?". At minimum, the motivation of me saying is likely very simular why Docker community came up with compose.
However, making separate software on top of rocker can add more maintenance obviously.
Can rocker be passed to docker-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.
The text was updated successfully, but these errors were encountered:
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 #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.The text was updated successfully, but these errors were encountered: