Skip to contentমূল লেখায় যান

Topic 46 · Courseটপিক 46 · Course

VMs and Containers

Your test passes on your laptop and fails on the test server. The server has another library version, another setting, or another app that uses the same port. A virtual machine and a container are two ways to give each app a clean, separate place to run on shared hardware.

7 min read7 মিনিটে পড়া যায় · 8 sections8টি সেকশন · 4 sources4টি সোর্স · updated Nov 2026আপডেট: Nov 2026

VM or container: what is sharedVM নাকি কনটেইনার: কী ভাগ হয়

Stack the same apps as VMs and as containers, and watch the memory bill and the isolation line change.একই অ্যাপগুলো VM হিসেবে আর কনটেইনার হিসেবে সাজান, আর দেখুন মেমরির খরচ ও আইসোলেশনের সীমানা কীভাবে বদলায়।

2 min2 মিনিট8 steps8টি ধাপ
  • Appsঅ্যাপ3
  • Memoryমেমরি0.6 GB
Virtual machinesভার্চুয়াল মেশিনContainersকনটেইনারHardwareহার্ডওয়্যারHardwareহার্ডওয়্যার3 apps3 অ্যাপ3 apps3 অ্যাপ

You’ll learnআপনি শিখবেন

  • What a VM carries that a container does notVM যা বহন করে, কনটেইনার করে না
  • What containers share: one kernelকনটেইনার কী ভাগ করে: একটি কার্নেল
  • How namespaces and cgroups keep containers apartনেমস্পেস ও cgroups কীভাবে কনটেইনার আলাদা রাখে
  • Why an image runs the same everywhereইমেজ কেন সব জায়গায় একই চলে
  • The trade-off: weight against isolationলেনদেন: ওজন বনাম আইসোলেশন

In plain words

Virtual machines (VMs) and containers both let several apps share the same physical machine, but they keep the apps apart in different ways Source 1সোর্স 1.

A VM uses a hypervisor. The hypervisor gives hardware-level isolation of resources across the VMs. To each VM the hardware looks like its own virtual hardware. Each VM also runs a complete guest operating system (OS) with the app on top. Different VMs can run different OSs, for example Linux and Windows Source 1সোর্স 1.

Containers skip the guest OS. Many containers share one OS kernel, which is part of the host OS, and each one is kept apart from the others Source 1সোর্স 1. Docker describes a container as an ordinary process that runs in isolation, with its own filesystem Source 2সোর্স 2. A container depends on the OS family of its host: a Linux host runs Linux containers, and a Windows host runs Windows containers Source 1সোর্স 1.

সহজ English

Virtual machines (VMs) and containers both let several apps share the same physical machine. They keep the apps apart in different ways Source 1সোর্স 1.

A VM uses a hypervisor. The hypervisor gives hardware-level isolation of resources across the VMs. To each VM the hardware looks like its own virtual hardware. Each VM also runs a complete guest operating system (OS) with the app on top. Different VMs can run different OSs, for example Linux and Windows Source 1সোর্স 1.

Containers skip the guest OS. Many containers share one OS kernel, which is part of the host OS. Each container is kept apart from the others Source 1সোর্স 1. Docker describes a container as an ordinary process that runs in isolation, with its own filesystem Source 2সোর্স 2. A container depends on the OS family of its host. A Linux host runs Linux containers. A Windows host runs Windows containers Source 1সোর্স 1.

বাংলা ব্যাখ্যা

ভার্চুয়াল মেশিন (virtual machine, VM) এবং কনটেইনার (container) দুটিই কয়েকটি অ্যাপকে একই ফিজিক্যাল মেশিন ভাগ করে চালাতে দেয়। তবে তারা অ্যাপগুলোকে আলাদা রাখে ভিন্ন উপায়ে Source 1সোর্স 1।

VM একটি হাইপারভাইজার (hypervisor) ব্যবহার করে। হাইপারভাইজার সব VM জুড়ে রিসোর্সের হার্ডওয়্যার-লেভেল আইসোলেশন (hardware-level isolation) দেয়। প্রতিটি VM-এর কাছে হার্ডওয়্যার মনে হয় তার নিজের ভার্চুয়াল হার্ডওয়্যার। প্রতিটি VM একটি সম্পূর্ণ গেস্ট অপারেটিং সিস্টেমও (guest operating system, OS) চালায়, তার উপরে থাকে অ্যাপ। ভিন্ন VM ভিন্ন OS চালাতে পারে, যেমন Linux এবং Windows Source 1সোর্স 1।

কনটেইনার গেস্ট OS বাদ দেয়। অনেক কনটেইনার একটি OS কার্নেল (kernel) ভাগ করে, যা হোস্ট OS-এর অংশ। প্রতিটি কনটেইনার অন্যদের থেকে আলাদা থাকে Source 1সোর্স 1। Docker কনটেইনারকে বর্ণনা করে একটি সাধারণ প্রসেস হিসেবে, যা আইসোলেশনে (isolation) চলে এবং যার নিজস্ব ফাইলসিস্টেম থাকে Source 2সোর্স 2। কনটেইনার নির্ভর করে তার হোস্টের OS ফ্যামিলির (OS family) উপর। Linux হোস্ট Linux কনটেইনার চালায়। Windows হোস্ট Windows কনটেইনার চালায় Source 1সোর্স 1।

How it works

Container isolation. The container runtime asks the host OS to give each container its own view of the system Source 1সোর্স 1. NIST names three tools Source 1সোর্স 1:

  • Namespace isolation limits what a container can see, such as files, network interfaces, and processes.
  • Resource limits cap how much of the host a container may use. On Linux this is mainly done with control groups (cgroups).
  • Filesystem virtualization lets containers share storage without access to each other's data.

Images. A container image is a ready-to-run package with the code, the runtime, the libraries, and default settings Source 3সোর্স 3. NIST calls it an immutable snapshot of what the app needs in user space. So the developer, the build system, and production run the same artifact, which solves the "works on my machine" problem Source 1সোর্স 1. Kubernetes says containers are meant to be stateless and immutable. To change an app, you build a new image and recreate the container. You do not change a running one Source 3সোর্স 3. You usually push the image to a registry before a Pod uses it Source 4সোর্স 4.

Orchestration. In Kubernetes, each node runs the containers of the Pods assigned to it, and containers of one Pod run together on one node Source 3সোর্স 3.

সহজ English

Container isolation. The container runtime asks the host OS to give each container its own view of the system Source 1সোর্স 1. NIST names three tools Source 1সোর্স 1:

  • Namespace isolation limits what a container can see, such as files, network interfaces, and processes.
  • Resource limits cap how much of the host a container may use. On Linux this is mainly done with control groups (cgroups).
  • Filesystem virtualization lets containers share storage without access to each other's data.

Images. A container image is a ready-to-run package with the code, the runtime, the libraries, and default settings Source 3সোর্স 3. NIST calls it an immutable snapshot of what the app needs in user space. So the developer, the build system, and production run the same artifact. This solves the "works on my machine" problem Source 1সোর্স 1. Kubernetes says containers are meant to be stateless and immutable. To change an app, you build a new image and recreate the container. You do not change a running one Source 3সোর্স 3. You usually push the image to a registry before a Pod uses it Source 4সোর্স 4.

Orchestration. In Kubernetes, each node runs the containers of the Pods assigned to it. The containers of one Pod run together on one node Source 3সোর্স 3.

বাংলা ব্যাখ্যা

কনটেইনার আইসোলেশন। কনটেইনার রানটাইম (container runtime) হোস্ট OS-কে বলে প্রতিটি কনটেইনারকে সিস্টেমের নিজস্ব একটি দৃশ্য দিতে Source 1সোর্স 1। NIST তিনটি উপায়ের নাম দেয় Source 1সোর্স 1:

  • নেমস্পেস আইসোলেশন (namespace isolation) একটি কনটেইনার কী দেখতে পারে তা সীমিত করে, যেমন ফাইল, নেটওয়ার্ক ইন্টারফেস এবং প্রসেস।
  • রিসোর্স লিমিট (resource limit) একটি কনটেইনার হোস্টের কতটা ব্যবহার করতে পারবে তা সীমিত করে। Linux-এ এটি মূলত কন্ট্রোল গ্রুপ (control groups, cgroups) দিয়ে করা হয়।
  • ফাইলসিস্টেম ভার্চুয়ালাইজেশন (filesystem virtualization) কনটেইনারদের স্টোরেজ ভাগ করতে দেয়, কিন্তু একে অপরের ডেটায় ঢুকতে দেয় না।

ইমেজ। কনটেইনার ইমেজ (container image) হলো কোড, রানটাইম, লাইব্রেরি এবং ডিফল্ট সেটিংসহ একটি রেডি-টু-রান প্যাকেজ Source 3সোর্স 3। NIST একে বলে ইউজার স্পেসে (user space) অ্যাপের যা দরকার তার একটি ইমিউটেবল স্ন্যাপশট (immutable snapshot)। তাই ডেভেলপার, বিল্ড সিস্টেম এবং প্রোডাকশন একই আর্টিফ্যাক্ট (artifact) চালায়। এতে "works on my machine" সমস্যার সমাধান হয় Source 1সোর্স 1। Kubernetes বলে কনটেইনারের উদ্দেশ্য স্টেটলেস (stateless) এবং ইমিউটেবল হওয়া। অ্যাপ বদলাতে হলে আপনি নতুন ইমেজ বিল্ড করেন এবং কনটেইনার আবার তৈরি করেন। চলমান কনটেইনার বদলান না Source 3সোর্স 3। Pod ব্যবহার করার আগে সাধারণত ইমেজ রেজিস্ট্রিতে (registry) পুশ করা হয় Source 4সোর্স 4।

অর্কেস্ট্রেশন (orchestration)। Kubernetes-এ প্রতিটি নোড নিজের Pod-গুলোর কনটেইনার চালায়। একটি Pod-এর কনটেইনারগুলো একই নোডে একসঙ্গে চলে Source 3সোর্স 3।

When you need it

Docker says that a container is a process, so it has no operating system to boot. A container starts in about a second, and one machine can run many of them Source 2সোর্স 2. Docker also says a container packages an app with everything it needs to run, so it runs the same way on every machine that has Docker. If you delete a container, nothing else on the machine changes Source 2সোর্স 2. Kubernetes adds that containers are repeatable and decouple the app from the host Source 3সোর্স 3.

VMs are still useful. NIST lists strong isolation, OS automation, and a wide ecosystem as VM benefits Source 1সোর্স 1. Containers share the host kernel, so a container cannot bring a different OS family. A VM can run another OS Source 1সোর্স 1.

সহজ English

Docker says that a container is a process, so it has no operating system to boot. A container starts in about a second. One machine can run many of them Source 2সোর্স 2. Docker also says a container packages an app with everything it needs to run. So it runs the same way on every machine that has Docker. If you delete a container, nothing else on the machine changes Source 2সোর্স 2. Kubernetes adds that containers are repeatable and decouple the app from the host Source 3সোর্স 3.

VMs are still useful. NIST lists strong isolation, OS automation, and a wide ecosystem as VM benefits Source 1সোর্স 1. Containers share the host kernel, so a container cannot bring a different OS family. A VM can run another OS Source 1সোর্স 1.

বাংলা ব্যাখ্যা

Docker বলে, কনটেইনার একটি প্রসেস, তাই বুট করার জন্য কোনো অপারেটিং সিস্টেম নেই। কনটেইনার প্রায় এক সেকেন্ডে চালু হয়, আর একটি মেশিনে অনেকগুলো চালানো যায় Source 2সোর্স 2। Docker আরও বলে, কনটেইনার একটি অ্যাপকে তার চলার জন্য দরকারি সবকিছুর সঙ্গে প্যাকেজ করে, তাই Docker আছে এমন প্রতিটি মেশিনে তা একইভাবে চলে। একটি কনটেইনার মুছলে মেশিনের আর কিছু বদলায় না Source 2সোর্স 2। Kubernetes যোগ করে যে কনটেইনার রিপিটেবল (repeatable) এবং অ্যাপকে হোস্ট থেকে আলাদা করে Source 3সোর্স 3।

VM এখনও কাজের। NIST VM-এর সুবিধা হিসেবে তালিকাভুক্ত করে শক্তিশালী আইসোলেশন, OS অটোমেশন এবং বিস্তৃত ইকোসিস্টেম Source 1সোর্স 1। কনটেইনার হোস্ট কার্নেল ভাগ করে, তাই একটি কনটেইনার ভিন্ন OS ফ্যামিলি আনতে পারে না। VM অন্য OS চালাতে পারে Source 1সোর্স 1।

Trade-offs

The table compares the two. Each row states what the sources say. The last row is the tutorial's own judgment, and no source states it.

TopicVMContainer
SeparationA hypervisor gives hardware-level isolation Source 1সোর্স 1The OS kernel is shared, and the runtime keeps the containers apart Source 1সোর্স 1
Isolation strengthNIST calls the VM boundary clearer and more concrete Source 1সোর্স 1Strong isolation, but not as clear a boundary as a VM. Segmentation is far less than between VMs, and a shared kernel gives a larger inter-object attack surface than hypervisors. A careless setup can let containers reach each other and the host more easily Source 1সোর্স 1
What each app carriesA full guest OS with its own kernel Source 2সোর্স 2An isolated process with its files Source 2সোর্স 2
OverheadBoots a whole OS, so it is heavier Source 2সোর্স 2No OS to boot; starts in about a second Source 2সোর্স 2
Different OSLinux and Windows VMs can share one machine Source 1সোর্স 1A Linux host runs only Linux containers Source 1সোর্স 1
Change processTypically kept as stateful systems that teams set up, change, and upgrade across their life Source 1সোর্স 1Meant to be immutable: build a new image, then recreate the container Source 1সোর্স 1 Source 3সোর্স 3
Which to pick (tutorial's own)Often a good fit when you need a hard boundary or another OSOften a good fit for packaging and moving an app between environments

Note the hedge in NIST: it says runtimes give less isolation than hypervisors do, but it also says that most container platforms isolate containers well Source 1সোর্স 1.

NIST does not ask you to choose one. VMs and containers often work together. A team can use VMs to deploy, split, and manage the hardware, and use containers to package apps and use each VM better Source 1সোর্স 1. Docker gives the same picture for clouds: cloud servers are usually VMs that run many containers each Source 2সোর্স 2.

সহজ English

The list compares the two. Each point states what the sources say. The last point is the tutorial's own judgment, and no source states it.

Note the hedge in NIST. It says runtimes give less isolation than hypervisors do. But it also says that most container platforms isolate containers well Source 1সোর্স 1.

NIST does not ask you to choose one. VMs and containers often work together. A team can use VMs to deploy, split, and manage the hardware. It can use containers to package apps and use each VM better Source 1সোর্স 1. Docker gives the same picture for clouds. Cloud servers are usually VMs that run many containers each Source 2সোর্স 2.

বাংলা ব্যাখ্যা

এই তালিকা দুটির তুলনা করে। প্রতিটি পয়েন্টে সোর্স যা বলে তা আছে। শেষ পয়েন্টটি টিউটোরিয়ালের নিজস্ব বিচার, কোনো সোর্স তা বলে না।

  • আলাদা রাখা। VM-এ একটি হাইপারভাইজার আছে, যা হার্ডওয়্যার-লেভেল আইসোলেশন দেয় Source 1সোর্স 1। কনটেইনারগুলো OS কার্নেল ভাগ করে, আর রানটাইম তাদের আলাদা রাখে Source 1সোর্স 1।
  • আইসোলেশনের শক্তি। NIST VM-এর সীমানাকে বেশি স্পষ্ট ও মূর্ত বলে Source 1সোর্স 1। কনটেইনারে শক্তিশালী আইসোলেশন আছে, কিন্তু VM-এর মতো স্পষ্ট সীমানা নেই। VM-গুলোর মধ্যে যতটা সেগমেন্টেশন (segmentation), এখানে তার চেয়ে অনেক কম। শেয়ার করা কার্নেল হাইপারভাইজারের চেয়ে বড় ইন্টার-অবজেক্ট অ্যাটাক সারফেস (inter-object attack surface) দেয়। অসতর্ক সেটআপে কনটেইনারগুলো একে অপরের এবং হোস্টের কাছে সহজে পৌঁছাতে পারে Source 1সোর্স 1।
  • প্রতিটি অ্যাপ কী বহন করে। VM বহন করে নিজের কার্নেলসহ একটি পূর্ণ গেস্ট OS Source 2সোর্স 2। কনটেইনার বহন করে তার ফাইলসহ একটি আইসোলেটেড প্রসেস Source 2সোর্স 2।
  • ওভারহেড। VM একটি পুরো OS বুট করে, তাই এটি ভারী Source 2সোর্স 2। কনটেইনারে বুট করার OS নেই, আর তা প্রায় এক সেকেন্ডে চালু হয় Source 2সোর্স 2।
  • ভিন্ন OS। Linux এবং Windows VM একটি মেশিন ভাগ করতে পারে Source 1সোর্স 1। Linux হোস্ট শুধু Linux কনটেইনার চালায় Source 1সোর্স 1।
  • বদলানোর প্রক্রিয়া। VM সাধারণত স্টেটফুল (stateful) সিস্টেম হিসেবে রাখা হয়। টিমগুলো এগুলোকে সেট আপ করে, বদলায় এবং এগুলোর পুরো জীবনকাল জুড়ে আপগ্রেড করে Source 1সোর্স 1। কনটেইনার ইমিউটেবল হওয়ার জন্য তৈরি। আপনি নতুন ইমেজ বিল্ড করেন, তারপর কনটেইনার আবার তৈরি করেন Source 1সোর্স 1 Source 3সোর্স 3।
  • কোনটি বেছে নেবেন (টিউটোরিয়ালের নিজস্ব)। শক্ত সীমানা বা অন্য OS দরকার হলে VM প্রায়ই ভালো মানায়। অ্যাপ প্যাকেজ করে এক এনভায়রনমেন্ট থেকে আরেকটিতে নিতে কনটেইনার প্রায়ই ভালো মানায়।

NIST-এর বক্তব্যের দুই দিকই লক্ষ্য করুন। সে বলে রানটাইম হাইপারভাইজারের চেয়ে কম আইসোলেশন দেয়। কিন্তু সে এও বলে যে বেশিরভাগ কনটেইনার প্ল্যাটফর্ম কনটেইনারগুলোকে ভালোভাবে আলাদা করে Source 1সোর্স 1।

NIST আপনাকে একটি বেছে নিতে বলে না। VM এবং কনটেইনার প্রায়ই একসঙ্গে কাজ করে। একটি টিম হার্ডওয়্যার ডিপ্লয়, ভাগ ও পরিচালনা করতে VM ব্যবহার করতে পারে। অ্যাপ প্যাকেজ করতে এবং প্রতিটি VM আরও ভালোভাবে ব্যবহার করতে কনটেইনার ব্যবহার করতে পারে Source 1সোর্স 1। Docker ক্লাউডের জন্য একই ছবি দেয়। ক্লাউড সার্ভার সাধারণত VM, আর প্রতিটিতে অনেক কনটেইনার চলে Source 2সোর্স 2।

A real-life example

This example is the tutorial's own. A test team runs a web app and a payment-sandbox service. Each service is built into an image. The CI job starts both as containers on a test host, runs the tests, and deletes them. Every run starts from the same image, so the result does not depend on what earlier runs left behind.

The team also runs a nightly test on a Windows desktop client. This needs a Windows OS, so it runs in a VM and not in a Linux container.

সহজ English

This example is the tutorial's own. A test team runs a web app and a payment-sandbox service. Each service is built into an image. The CI job starts both as containers on a test host. It runs the tests, and then it deletes the containers. Every run starts from the same image. So the result does not depend on what earlier runs left behind.

The team also runs a nightly test on a Windows desktop client. This needs a Windows OS. So it runs in a VM and not in a Linux container.

বাংলা ব্যাখ্যা

এই উদাহরণটি টিউটোরিয়ালের নিজস্ব। একটি টেস্ট টিম একটি ওয়েব অ্যাপ এবং একটি পেমেন্ট-স্যান্ডবক্স (payment-sandbox) সার্ভিস চালায়। প্রতিটি সার্ভিস একটি ইমেজ হিসেবে বিল্ড করা হয়। CI জব দুটিকেই একটি টেস্ট হোস্টে কনটেইনার হিসেবে চালু করে। সে টেস্ট চালায়, তারপর কনটেইনারগুলো মুছে দেয়। প্রতিটি রান একই ইমেজ থেকে শুরু হয়। তাই ফল নির্ভর করে না আগের রান কী রেখে গেছে তার উপর।

টিম একটি Windows ডেস্কটপ ক্লায়েন্টের নাইটলি (nightly) টেস্টও চালায়। এর জন্য একটি Windows OS লাগে। তাই এটি চলে VM-এ, Linux কনটেইনারে নয়।

Common mistakes

  • Treating a container as a VM. A container shares the host kernel. NIST says its boundary is less clear than a VM boundary Source 1সোর্স 1.
  • Mixing sensitive and ordinary workloads on one host. NIST advises that a host kernel runs containers of one sensitivity level only. It also says VMs can provide this separation Source 1সোর্স 1.
  • Running apps next to containers on the same host. NIST advises against mixing containerized and non-containerized workloads on one host instance Source 1সোর্স 1.
  • Using the latest tag in production. Kubernetes warns that it is harder to know which version runs and to roll back. A tag can also be moved to another image, but a digest is fixed Source 4সোর্স 4.
  • Fixing a running container by hand. Kubernetes says to build a new image and recreate the container Source 3সোর্স 3.

সহজ English

  • Treating a container as a VM. A container shares the host kernel. NIST says its boundary is less clear than a VM boundary Source 1সোর্স 1.
  • Mixing sensitive and ordinary workloads on one host. NIST advises that a host kernel runs containers of one sensitivity level only. It also says VMs can provide this separation Source 1সোর্স 1.
  • Running apps next to containers on the same host. NIST advises against mixing containerized and non-containerized workloads on one host instance Source 1সোর্স 1.
  • Using the latest tag in production. Kubernetes warns that it is harder to know which version runs and to roll back. A tag can also be moved to another image, but a digest is fixed Source 4সোর্স 4.
  • Fixing a running container by hand. Kubernetes says to build a new image and recreate the container Source 3সোর্স 3.

বাংলা ব্যাখ্যা

  • কনটেইনারকে VM মনে করা। কনটেইনার হোস্ট কার্নেল ভাগ করে। NIST বলে এর সীমানা VM-এর সীমানার চেয়ে কম স্পষ্ট Source 1সোর্স 1।
  • একই হোস্টে সংবেদনশীল ও সাধারণ ওয়ার্কলোড (workload) মেশানো। NIST পরামর্শ দেয়, একটি হোস্ট কার্নেল যেন শুধু একই সংবেদনশীলতার স্তরের (sensitivity level) কনটেইনার চালায়। সে এও বলে যে VM এই আলাদা করা দিতে পারে Source 1সোর্স 1।
  • একই হোস্টে কনটেইনারের পাশে সাধারণ অ্যাপ চালানো। NIST পরামর্শ দেয়, এক হোস্ট ইনস্ট্যান্সে (instance) কনটেইনারাইজড এবং নন-কনটেইনারাইজড ওয়ার্কলোড মেশাবেন না Source 1সোর্স 1।
  • প্রোডাকশনে latest ট্যাগ ব্যবহার করা। Kubernetes সতর্ক করে যে কোন ভার্সন চলছে তা জানা এবং রোলব্যাক করা কঠিন হয়। একটি ট্যাগ অন্য ইমেজে সরেও যেতে পারে, কিন্তু ডাইজেস্ট (digest) স্থির Source 4সোর্স 4।
  • চলমান কনটেইনার হাতে ঠিক করা। Kubernetes বলে নতুন ইমেজ বিল্ড করতে এবং কনটেইনার আবার তৈরি করতে Source 3সোর্স 3।

What a tester can check

Tutorial advice

These test ideas are the tutorial's own advice, not a claim of the sources.

  • Which image runs. Find the exact image tag or digest in the test environment. Check that it is the one you meant to test, and that it is not latest.
  • Same image, same result. Run the same image on a laptop and on the CI host. Compare the results.
  • Restart from clean. Delete a container and start it again. Check that no data or setting that you expect is lost, and no old state remains by accident.
  • Resource limits. Give a container a small memory limit and send a heavy load. Check that the app fails in a clear way, and that other containers on the host stay up.
  • Privileges and mounts. Ask the team which containers run with extra privileges or mount host folders. Report them as a risk to check, and do not test beyond your permission.
  • Right host for the test. If the test needs a different OS or kernel version, check that the environment is a VM or host that supplies it.

সহজ English

These test ideas are the tutorial's own advice, not a claim of the sources.

  • Which image runs. Find the exact image tag or digest in the test environment. Check that it is the one you meant to test, and that it is not latest.
  • Same image, same result. Run the same image on a laptop and on the CI host. Compare the results.
  • Restart from clean. Delete a container and start it again. Check that no data or setting that you expect is lost. Check that no old state remains by accident.
  • Resource limits. Give a container a small memory limit and send a heavy load. Check that the app fails in a clear way, and that other containers on the host stay up.
  • Privileges and mounts. Ask the team which containers run with extra privileges or mount host folders. Report them as a risk to check. Do not test beyond your permission.
  • Right host for the test. If the test needs a different OS or kernel version, check that the environment is a VM or host that supplies it.

বাংলা ব্যাখ্যা

এই টেস্টের ধারণাগুলো টিউটোরিয়ালের নিজস্ব পরামর্শ, সোর্সগুলোর দাবি নয়।

  • কোন ইমেজ চলছে। টেস্ট এনভায়রনমেন্টে সঠিক ইমেজ ট্যাগ বা ডাইজেস্ট খুঁজে বের করুন। দেখুন এটিই সেই ইমেজ, যা আপনি টেস্ট করতে চেয়েছিলেন, এবং এটি latest নয়।
  • একই ইমেজ, একই ফল। একই ইমেজ ল্যাপটপে এবং CI হোস্টে চালান। ফল তুলনা করুন।
  • পরিষ্কার অবস্থা থেকে আবার শুরু। একটি কনটেইনার মুছে আবার চালু করুন। দেখুন আপনি যে ডেটা বা সেটিং আশা করেন তা হারায়নি। দেখুন ভুলবশত কোনো পুরোনো স্টেট থেকে যায়নি।
  • রিসোর্স লিমিট। একটি কনটেইনারকে ছোট মেমোরি লিমিট দিন এবং ভারী লোড পাঠান। দেখুন অ্যাপ স্পষ্টভাবে ব্যর্থ হয়, এবং হোস্টের অন্য কনটেইনার চালু থাকে।
  • প্রিভিলেজ এবং মাউন্ট। টিমকে জিজ্ঞেস করুন কোন কনটেইনার বাড়তি প্রিভিলেজ (privilege) নিয়ে চলে বা হোস্ট ফোল্ডার মাউন্ট করে। এগুলোকে পরীক্ষার যোগ্য ঝুঁকি হিসেবে জানান। আপনার অনুমতির বাইরে টেস্ট করবেন না।
  • টেস্টের জন্য সঠিক হোস্ট। টেস্টে ভিন্ন OS বা কার্নেল ভার্সন লাগলে দেখুন এনভায়রনমেন্টটি এমন VM বা হোস্ট, যা তা দেয়।

Key words

WordMeaning
Virtual machine (VM)A simulated computer with virtual hardware and a complete guest OS Source 1সোর্স 1
HypervisorThe software that gives hardware-level isolation of resources across VMs Source 1সোর্স 1
ContainerAn ordinary process that runs in isolation, with its own filesystem Source 2সোর্স 2
KernelThe part of the host OS that all containers on one host share Source 1সোর্স 1
Container imageA ready-to-run package with the code, runtime, libraries, and default settings Source 3সোর্স 3
Container runtimeThe software on the host that sets up and runs each container, for example containerd or CRI-O Source 3সোর্স 3
Namespace isolationA way to limit which resources a container can see Source 1সোর্স 1
cgroupsThe Linux control groups that limit how much of the host a container may use Source 1সোর্স 1
RegistryA place where you store images before a Pod uses them Source 4সোর্স 4
Tag and digestA tag names an image version and can move. A digest is a hash of the content and is fixed Source 4সোর্স 4
ImmutableNot changed after it starts. You build a new image instead Source 3সোর্স 3

Reels on this topicএই টপিকের রিলস

Short videos from other creators, picked for this topic. They are not part of this page's fact-checked text. Nothing loads from YouTube until you press Play.অন্য ক্রিয়েটরদের বানানো ছোট ভিডিও, এই টপিকের জন্য বাছাই করা। এগুলো এই পেজের ফ্যাক্ট-চেক করা লেখার অংশ নয়। চালান বাটন চাপার আগে YouTube থেকে কিছুই লোড হয় না।

  1. [1]
    Application Container Security Guide (NIST Special Publication 800-190)

    NIST · accessed 2026-10-22দেখা হয়েছে: 2026-10-22

  2. [2]
    What is a container?

    Docker Docs · accessed 2026-11-27দেখা হয়েছে: 2026-11-27

  3. [3]
    Containers

    Kubernetes documentation · accessed 2026-10-22দেখা হয়েছে: 2026-10-22

  4. [4]
    Images

    Kubernetes documentation · accessed 2026-10-22দেখা হয়েছে: 2026-10-22