Allow to run the container with minimum available resources only
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 2.2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or existing entry points. Start by clarifying whether the change should expose current CPU and RAM resources, enforce project requirements, or support both a dot file and a CLI argument. Done should include a defined configuration format, failure behavior, and tests for insufficient resources.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100