Ability to read a specific docker-compose file
kbariotis opened this issue · comments
Kostas Bariotis commented
This is a feature request. I was wondering if we could read a specific docker-compose file so you can manage only the containers defined in that file.
On my local development, I have myriads of containers running but often times I want to inspect or manage only the containers of the specific project I am working on, which has its own docker-compose definition.
Thank you, loved this tool. 💯
Liran Tal commented
Hi @kbariotis 👋
I like this idea!
Happy to pick your brain on how something like this would work. WDYT on:
- parse
docker-compose.yml
to flesh out the container names based on theservices
clause, and allowcontainer_name
for each one of them to override the actual name. - filter the list to show only these
Questions about functionality around this:
- If you're in a directory that has a
docker-compose.yml
file it will be automatically picked up - Specifying a command line argument for a compose file
- Should bulk capabilities like
stop all containers
available in the rich menu work for all containers or just for those detected in the compose mode?
Liran Tal commented
Will close for now :-)