cli
cli copied to clipboard
Allow to run the container with minimum available resources only
Description
As a developer, I'm running projects in dockerized environments and monitor or limit resources to possible minimum. I'm working on couple "hungry" projects and couple low consuming one.
I would like to deny to run those projects which are requiring specific resource configuration (amount of available CPUs and RAM) based on some dot file or cli argument. So the project will not run in case I've forgotten to enhance resources configuration.
In my use case, I can write simple script to confirm available configuration, but I'm not able to see current resources in CLI as in the Docker Desktop.