SciSpike / yaktor-issues

Issues-only repository for issue management of all Yaktor repositories
0 stars 1 forks source link

Add subcommand to `yak` that makes it easier to get a shell in a container defined in docker-compose.yml #14

Closed matthewadams closed 8 years ago

matthewadams commented 8 years ago

From @matthewadams on November 17, 2016 17:23

Currently, ./yak bash gets you a bash shell in the app container. Keep that command & deprecate it, then add command ./yak shell [container [command]] where container is optional and defaults to app. This allows a convenient shortcut to get a shell in any of the known containers defined in docker-compose.yml:, like ./yak shell mongo for a shell or ./yak shell mongo mongo for the mongo client.

Copied from original issue: SciSpike/yaktor#36