docker / docker/cli

Allow to run the container with minimum available resources only

Open
#4,788 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/feature status/0-triage
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.
Screenshot 2024-01-14 at 16 44 21

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.