<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sameera Kumarasinghe on Medium]]></title>
        <description><![CDATA[Stories by Sameera Kumarasinghe on Medium]]></description>
        <link>https://medium.com/@e20212?source=rss-165dda908448------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*5OCOEcwrTxzO0xUr</url>
            <title>Stories by Sameera Kumarasinghe on Medium</title>
            <link>https://medium.com/@e20212?source=rss-165dda908448------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 21:32:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@e20212/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Can We Run a Virtual Machine Inside a Container?]]></title>
            <link>https://medium.com/@e20212/can-we-run-a-virtual-machine-inside-a-container-13ba221c2fbc?source=rss-165dda908448------2</link>
            <guid isPermaLink="false">https://medium.com/p/13ba221c2fbc</guid>
            <dc:creator><![CDATA[Sameera Kumarasinghe]]></dc:creator>
            <pubDate>Sun, 24 May 2026 06:22:29 GMT</pubDate>
            <atom:updated>2026-05-24T06:22:29.605Z</atom:updated>
            <content:encoded><![CDATA[<p>At first glance, the answer feels obvious.</p><p>Containers are lightweight. Virtual machines are heavy. Containers share the host operating system kernel, while VMs emulate an entire computer. So naturally, many people assume,</p><p>“No, you cannot run a VM inside a container.”</p><p>But the real answer is more interesting.</p><p>The short answer is:</p><p><strong>Yes! It is possible to run a virtual machine inside a container.</strong></p><p>However, it does not work in the way most people initially imagine. To truly understand why, we need to explore virtualization itself, the architectural difference between containers and virtual machines, and how modern virtualization technologies like KVM make this possible.</p><h3><strong>Virtualization: The Foundation Behind VMs and Containers</strong></h3><p>Before discussing whether a VM can run inside a container, we first need to understand what virtualization actually means.</p><p>Virtualization is the process of creating isolated environments that behave like separate computing systems. Instead of running everything directly on physical hardware, virtualization allows multiple workloads to share the same machine efficiently.</p><p>But not all virtualization is the same.</p><p>Modern systems mainly use two approaches:</p><ul><li><strong>Hardware Virtualization</strong> — used by virtual machines</li><li><strong>Operating System Level Virtualization</strong> — used by containers</li></ul><p>Although both technologies create isolation, they work at completely different levels of the system.</p><h3><strong>Virtual Machines vs Containers</strong></h3><p>First, Let’s start with a simple analogy.</p><p>A <strong>virtual machine</strong> is like renting an entirely separate house. You get your own plumbing, electricity, furniture, and security system. Everything is independent.</p><p>A <strong>container</strong>, on the other hand, is like living in an apartment inside a building. Each apartment is isolated, but everyone still shares the same infrastructure underneath.</p><p>Technically, this difference is extremely important.</p><p><strong>What Is a Container?</strong></p><p>A container is essentially an isolated process running on top of the host operating system. It packages the application, required libraries, dependencies, runtime environment.</p><p>But it <strong>does not include its own kernel</strong>.</p><p>All containers on the machine share the same host OS kernel. Technologies like namespaces and cgroups provide process isolation and resource control.</p><p>Because of this:</p><ul><li>containers are lightweight,</li><li>startup time is extremely fast,</li><li>resource usage is minimal.</li></ul><p><strong>What Is a Virtual Machine?</strong></p><p>A virtual machine works very differently. A VM presents virtualized hardware to the guest OS., including CPU, memory, disks, network interfaces, hardware devices.</p><p>This is done through a <strong>hypervisor</strong>.</p><p>The hypervisor creates virtual hardware that behaves like real physical hardware. An operating system can then boot on top of this virtualized environment exactly as it would on a physical machine.</p><p>The guest operating system usually has no idea that the hardware is virtualized.</p><p>Unlike containers, each VM contains:</p><ul><li>its own kernel,</li><li>its own operating system,</li><li>its own drivers,</li><li>its own system services.</li></ul><p>This makes VMs heavier, slower to start, more resource intensive, but also more isolated, more flexible, and capable of running completely different operating systems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*13KkmVjVIUbdJk-bFx6ZPA.png" /><figcaption>Virtual Machine vs Containers</figcaption></figure><p>At this point, the idea of running a VM inside a container starts to sound strange.</p><p>Containers do not even have their own kernel.</p><p>So how can they possibly run an entire operating system inside them?</p><h3>Types of Virtualization</h3><p>To answer that question properly, we need to look deeper into the types of virtualization involved.</p><p><strong>Hardware Virtualization</strong></p><p>Virtual machines use <strong>hardware virtualization</strong>.</p><p>The hypervisor sits between the physical hardware and the guest operating systems. It virtualizes hardware resources and presents them to VMs as if they were real devices.</p><p>Examples: VMware ESXi, Hyper-V, KVM, Xen</p><p>This allows multiple operating systems to run independently on the same physical machine.</p><p><strong>Operating System Level Virtualization</strong></p><p>Containers use <strong>operating system levelvirtualization</strong>.</p><p>Instead of virtualizing hardware, the host operating system isolates processes into separate environments. Containers share the same kernel, do not emulate hardware, do not boot separate operating systems.</p><p>Docker is a container platform, while Kubernetes is a container orchestration system built around this model.</p><p>This approach is much lighter because no hardware emulation is required.</p><p><strong>Process Isolation</strong></p><p>At the lowest level, containers are isolated processes running on the host kernel. Linux features such as namespaces, cgroups, capabilities, and filesystem isolation create the illusion of separate systems. Although containers appear independent, they all share the same underlying host kernel.</p><h3><strong>Why Running a VM Inside a Container Seems Impossible</strong></h3><p>A traditional virtual machine requires:</p><ul><li>direct hardware access,</li><li>kernel-level virtualization support,</li><li>privileged system operations.</li></ul><p>But containers are intentionally restricted environments.</p><p>Normally, containers:</p><ul><li>do not have direct kernel access,</li><li>cannot load kernel modules,</li><li>cannot access virtualization hardware,</li><li>run with limited privileges.</li></ul><p>This restriction exists for security reasons.</p><p>A VM hypervisor typically needs access to /dev/kvm, CPU virtualization extensions (Intel VT-x or AMD-V), privileged instructions.</p><p>Standard containers cannot access these resources by default.</p><p>So in a normal containerized environment:</p><p>No, you cannot simply install VirtualBox or VMware inside a container and expect it to work. The container environment itself is too restricted.</p><h3><strong>Virtualization vs Emulation</strong></h3><p>Another important concept here is the difference between virtualization and emulation. People often confuse these two.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8RcFfXC8EVJstoSAfbhj0w.png" /><figcaption>Emulation vs virtualization architecture comparison</figcaption></figure><p><strong>Emulation</strong></p><p>Emulation completely imitates hardware in software.</p><p>For example:</p><ul><li>emulating an ARM processor on an x86 machine,</li><li>running retro gaming consoles in software.</li></ul><p>Emulation is flexible but slow because every hardware instruction must be translated.</p><p><strong>Virtualization</strong></p><p>Modern VMs mostly use virtualization instead of pure emulation.</p><p>With technologies like KVM:</p><ul><li>the guest OS runs directly on the CPU,</li><li>hardware virtualization extensions accelerate execution,</li><li>performance becomes close to native speed.</li></ul><p>The hypervisor is not fully simulating the hardware instruction-by-instruction. Instead, it coordinates controlled access to the real hardware. This distinction is critical when discussing VMs inside containers.</p><h3><strong>So, Can We Actually Run a VM Inside a Container?</strong></h3><p>Now we finally return to the original question.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*iVls8j9aswJMFAde7yM5Lw.png" /><figcaption>Vm inside a container</figcaption></figure><p>The answer is Yes, but using hardware-assisted virtualization technologies like KVM.</p><p>The container itself does not magically create virtualization.</p><p>Instead:</p><ul><li>the host machine provides virtualization support,</li><li>the container is granted privileged access,</li><li>QEMU runs inside the container while KVM acceleration is provided by the host Linux kernel through /dev/kvm.</li></ul><p>In this setup:</p><ul><li>the container becomes more like a wrapper,</li><li>while the actual virtualization is still performed by the host kernel.</li></ul><h3><strong>Final Thoughts</strong></h3><p>At the beginning, the question seemed simple:</p><p>“Can we run a virtual machine inside a container?”</p><p>The answer feels like “No” because containers are lightweight process-isolated environments, while VMs require low-level hardware virtualization.</p><p>But modern Linux virtualization technologies change the story.</p><p>Using tools like KVM and QEMU, a container can act as a controlled environment that launches virtual machines using the host’s hardware virtualization capabilities.</p><p>So the final answer is:</p><p><strong>Yes, but not directly.</strong></p><p>A VM can run inside a container only when the container is granted special access to hardware virtualization features provided by the host system.</p><p>In the end, containers and VMs are not competitors anymore. Modern cloud infrastructure increasingly combines both technologies to achieve:</p><ul><li>speed,</li><li>scalability,</li><li>portability,</li><li>and strong isolation together.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13ba221c2fbc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Team Workflows with Jira]]></title>
            <link>https://medium.com/@e20212/mastering-team-workflows-with-jira-5ae682126a01?source=rss-165dda908448------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ae682126a01</guid>
            <dc:creator><![CDATA[Sameera Kumarasinghe]]></dc:creator>
            <pubDate>Tue, 21 Oct 2025 14:13:16 GMT</pubDate>
            <atom:updated>2025-10-21T14:13:16.231Z</atom:updated>
            <content:encoded><![CDATA[<p>Project management tools turn jumbled task lists into visible, trackable workflows. Jira (by Atlassian), an agile project management platform with configurable issue-tracking for work planning, tracking, and release, is a standard for software teams and many technical projects. This article discusses Jira’s definition, salient features, trade-offs, typical practical applications, and pricing structure.</p><p><strong>What is Jira?</strong></p><p>Jira is a web-based project and issue-tracking tool from Atlassian. Originally created for bug tracking, it has since grown into a full-featured project management suite with customizable workflows, reporting, Agile approaches (Scrum and Kanban), and integrations with development and teamwork tools. Jira is available to large enterprises as a self-managed (Data Center/Enterprise) version and as a cloud service.</p><p><strong>Why teams choose Jira</strong></p><p>Teams use Jira when they need structured issue tracking, sprint planning, end-to-end traceability (issues → commits → releases), and rich reporting. Software engineering, enterprise IT, and quality assurance teams use it extensively due to its extensibility and large app marketplace.</p><h3>Key features</h3><p><strong>Agile boards (Scrum &amp; Kanban)</strong></p><p>Jira’s boards visualize work as cards that move through workflow columns (To Do → In Progress → Done). Scrum boards support sprint planning and backlog management; Kanban boards support continuous flow and cycle-time monitoring.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*IHC94ymCBCJyAHOGKROj2w.png" /><figcaption>Dashboard — Kanban Project</figcaption></figure><p><strong>Issue types &amp; tracking</strong></p><p>Every task, bug, enhancement or user story is an “issue” with fields for assignee, priority, description, attachments, comments, and history. Issues can be linked (e.g., story → subtasks → epics).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gQgqDR5Jae_8l-IS91_FmA.png" /></figure><p><strong>Sprint &amp; backlog management</strong></p><p>Jira helps teams plan sprints, estimate work, and move backlog items into sprint scope; built-in reports let you review sprint outcomes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4cIZyH0BhOWTR0i43HNRuQ.png" /><figcaption>sprint backlog</figcaption></figure><p><strong>Reports &amp; dashboards</strong></p><p>Out-of-the-box reports (burndown, velocity, cumulative flow diagram) and customizable dashboards give visibility into progress, bottlenecks, and team performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rW3OLdu-4riKAnwqx-A0LQ.png" /><figcaption>Summary dashboard</figcaption></figure><p><strong>Automation &amp; workflows</strong></p><p>Custom workflows and automation rules (if-this-then-that) reduce manual steps — e.g., auto-assigning issues, sending notifications, or transitioning statuses when conditions are met.</p><p><strong>Integrations &amp; ecosystem</strong></p><p>Jira integrates with Git platforms (Bitbucket, GitHub), CI/CD, Slack, Confluence and thousands of marketplace apps — enabling traceability from code to release.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jtg3aJaLun5-jJ42ie0u4g.png" /><figcaption>GitHub GitLab Bitbucket integration</figcaption></figure><p><strong>Roadmaps &amp; product planning</strong></p><p>Advanced Roadmaps allow cross-project planning and visualization of timelines, dependencies, and releases for multi-team coordination.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xcHvH0VxbZg-oHKFE7UfiA.png" /><figcaption>Timeline for the project</figcaption></figure><h3>Advantages and disadvantages</h3><p><strong>Advantages</strong></p><ul><li><strong>Built for Agile:</strong> First-class support for Scrum and Kanban makes Jira ideal for iterative development.</li><li><strong>Highly configurable:</strong> Issue types, workflows, fields and permissions can be tuned to team needs.</li><li><strong>Powerful reporting:</strong> Built-in charts (burndown, velocity, cumulative flow) and dashboards provide actionable metrics.</li><li><strong>Large ecosystem:</strong> Rich integrations and marketplace apps extend Jira to CI/CD, documentation, monitoring, and more.</li></ul><p><strong>Disadvantages</strong></p><ul><li><strong>Steep learning curve:</strong> New users often find Jira’s many features and permissions complex; admin configuration can be time consuming. Independent reviews consistently note the learning overhead.</li><li><strong>Overkill for simple tasks:</strong> For very small or non-technical teams, lighter tools (Trello, simple to-do lists) are easier to adopt.</li><li><strong>Costs at scale / hidden add-ons:</strong> While a Free tier exists, organizations often need paid plans or marketplace apps that increase total cost. Plan selection and add-on budgeting are important.</li></ul><h3>Use cases and real-world applications</h3><p><strong>Software development / product teams</strong><br>Jira is most commonly used to manage releases, bugs, and user stories; by linking issues to pull requests and commits, it enables traceability from issue to fix.</p><p><strong>Quality assurance (QA)</strong><br>Throughout the issue lifecycle, QA teams assign developers fixes, log bugs, assign severity and priority, and monitor resolution. Directly marking test results on issues is made easier by integration with continuous integration (CI) systems.</p><p><strong>IT service management</strong><br>Jira Service Management enables teams to manage requests, modifications, and incidents. Jira has now been expanded into ITSM use cases, including incident triage, SLA tracking, and knowledge integration with Confluence.</p><p><strong>Business operations &amp; non-technical teams</strong><br>Enterprise teams in marketing, human resources, and law sometimes standardize on Jira for cross-functional workflows and request tracking (especially when the business already uses Atlassian tools).</p><h3>Pricing and availability</h3><p><strong>Cloud plans &amp; student suitability</strong><br>Atlassian’s Free tier, which typically accommodates up to 10 users, is sufficient for small projects or student groups. The Standard, Premium, and Enterprise paid tiers add features like automation limits, service-level guarantees, advanced permissions, and organization-wide controls. The precise per-user pricing, which can vary, should be viewed on Atlassian’s pricing page when you submit the assignment.</p><p>Jira is a sophisticated, highly configurable platform designed for teams that need rigorous issue tracking and Agile workflows. Because of its depth and integrations, it is the industry standard for software engineering and ITSM, and its free tier is advantageous for student projects. For teams that need reporting, sprint management, and traceability but are worried about the initial learning curve and possible costs for more advanced features, Jira provides a complete solution.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ae682126a01" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>