広告が嫌いですか? 行く 広告なし 今日

Dockerコンテナリソース計算機

データ開発者
広告 ・ 取り除く?

カスタムリソース設定

財産 価値
CPUリクエスト -
CPU制限 -
CPUリクエスト(ミリコア) -
CPU制限(ミリコア) -
メモリリクエスト -
メモリ制限 -
合計CPU(全コンテナ) -
合計メモリ(全コンテナ) -

Docker実行コマンド

Kubernetes YAML
広告 ・ 取り除く?

ガイド

Docker Container Resource Calculator

Dockerコンテナリソース計算機

Quickly calculate recommended CPU and memory resource limits for Docker containers and Kubernetes deployments. Select a workload type, enter your host resources, and get precise values for Docker run flags and Kubernetes resource manifests — no guesswork required.

使い方

  1. Select a workload type (web server, database, cache, ML inference, or custom)
  2. Enter your host CPU cores そして RAM in GB
  3. Set the number of containers to split resources across
  4. View the calculated resource table, Docker run command, and Kubernetes YAML

特徴

  • Workload Presets – Built-in resource profiles for common workloads: web server, background worker, database, cache, and ML inference
  • Custom Mode – Define your own CPU and memory request/limit values
  • Multi-Container Splitting – Automatically divides host resources across multiple containers
  • 容量警告 – Alerts you when total resource limits exceed host capacity
  • Docker実行フラグ – Generates ready-to-use –memory and –cpus flags
  • Kubernetes YAML – Outputs resources.requests and resources.limits in YAML format with millicores
  • Auto-Calculate – Results update instantly as you change inputs

よくある質問

  1. What is the difference between resource requests and limits in Kubernetes?

    Resource requests define the minimum resources a container needs to be scheduled on a node. Limits define the maximum resources a container can use. If a container exceeds its memory limit, it gets killed (OOMKilled). If it exceeds CPU limits, it gets throttled.

  2. How do Docker --memory and --cpus flags work?

    The --memory flag sets a hard memory limit for the container. If the process inside tries to use more, Docker kills it. The --cpus flag limits how much CPU time the container can use — for example, --cpus=0.5 means the container can use 50% of one CPU core.

  3. What are millicores in Kubernetes?

    Millicores are a way to express fractional CPU resources. 1 CPU core equals 1000 millicores (1000m). So 250m means 25% of one CPU core. This allows fine-grained resource allocation for containers that don't need a full core.

  4. Why should I set resource limits on containers?

    Without resource limits, a single container can consume all available host resources, starving other containers. Setting limits ensures fair resource distribution, prevents out-of-memory crashes from affecting the host, and is required for Kubernetes Quality of Service (QoS) classes.

広告なしで楽しみたいですか? 今すぐ広告なしで

拡張機能をインストールする

お気に入りのブラウザにIOツールを追加して、すぐにアクセスし、検索を高速化します。

に追加 Chrome拡張機能 に追加 エッジ拡張 に追加 Firefox 拡張機能 に追加 Opera 拡張機能

スコアボードが到着しました!

スコアボード ゲームを追跡する楽しい方法です。すべてのデータはブラウザに保存されます。さらに多くの機能がまもなく登場します!

広告 ・ 取り除く?
広告 ・ 取り除く?
広告 ・ 取り除く?

ニュースコーナー 技術ハイライト付き

参加する

価値ある無料ツールの提供を継続するためにご協力ください

コーヒーを買って
広告 ・ 取り除く?