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
docker-compose run service_name can be called without an explicit command. When no command is given, compose will use the command key in the docker-compose specification or default to the CMD in the Dockerfile definition if one was given at build time.
I think that command should be optional but based on how the api works right now, making the command optional will be a breaking change.
Are you sure this isn't supported right now? The method signature uses a position glob *cmd so in theory, it should be legal to pass 0 extra params to Session#run. (You'd still need to provide the service name, but not a command.)
docker-compose run service_name
can be called without an explicit command. When no command is given, compose will use thecommand
key in the docker-compose specification or default to the CMD in the Dockerfile definition if one was given at build time.I think that
command
should be optional but based on how the api works right now, making the command optional will be a breaking change.Thoughts @xeger ?
The text was updated successfully, but these errors were encountered: