Skip to Content

What Are Containers?

What Are Containers?

Containers are standardized units of software that contain all the code and dependencies, including binaries, libraries, and configuration files, needed for an app to run. Containerized software can run reliably from one computing environment to another.

Virtual Machines vs. Containers

Both virtual machines (VM) and containers use virtualization to create isolated environments for running applications. The key difference lies in the granularity of virtualization they provide—VMs virtualize at the operating system (OS)/machine level while containers virtualize at the software level.

Let’s take a closer look at the differences between these two virtualization technologies.

Virtual Machines

A VM virtualizes the entire machine and OS so that it can be hosted on a different machine. To share the resources of the host machine, you’ll need a hypervisor to virtualize the server. Multiple VMs may run on a single hypervisor interfacing with a host machine. VMs can save you money by allowing you to partition a single physical server into multiple machines that can run apps with different dependencies and operating requirements.

While you might save money by not having to purchase new servers, VMs do require a lot of system resources from the host machine. When you have to simulate an entire OS and underlying machine to run a single app through a hypervisor, it becomes clear that further granularity could give you even greater cost savings.

Free Trial of Portworx

No hardware, no setup, no cost—no problem. Try the leading Kubernetes Storage and Data Protection platform according to GigaOm Research.

Sign Up Now

Containers

Imagine the convenience of running an app in a virtual environment without the hefty resource requirements of a hypervisor. That’s basically what a container allows you to do by encapsulating software into virtual self-contained units.

In a container, you no longer need to virtualize an entire operating system and server with a hypervisor. Instead, you only virtualize the software and hardware dependencies needed for a particular app to run while using the OS kernel of the host machine. Containers allow you to create multiple workloads on a single OS instance. As a result,  containers are orders of magnitude less taxing on your physical servers than VMs.

Tradeoffs Between Containers and Virtual Machines

While containers are more agile than VMs, their dependency on the host machine’s OS kernel limits the use of apps with dependencies on other OS environments. VMs are also more isolated and secure in that they are truly independent of the host machine. 

You should use containers when:

  • Maximizing the number of apps running on a single OS kernel
  • Deploying multiple instances of a single app
  • Prioritizing compute and storage resources

You should use VMs when:

  • Running multiple apps with different OS dependencies on a single server 
  • Running an app that needs all the resources and functionalities of an OS
  • Prioritizing isolation and security

The Benefits of Container Orchestration with Pure Service Orchestrator

While containers abstract away the details of underlying hardware from a software development perspective, inefficiencies in legacy IT infrastructure can still bog down overall performance.

Pure Service Orchestrator™ is a container orchestration tool that effortlessly delivers persistent storage resources to containerized applications. It integrates seamlessly with Kubernetes and other container orchestration tools to provide:

  • Automated storage delivery on demand
  • Policy-based provisioning
  • Elastic scaling across all your arrays including hybrid cloud
  • Intelligent container deployment across file and block arrays
  • Enterprise-grade resiliency with automated failover and self-healing data access integrity

Pure Service Orchestrator combines elastic scaling, smart provisioning, and transparent recovery to deliver containers as-a-service.

11/2024
Portworx Reference Architecture: OpenShift on vSphere
Best practices for deploying Portworx on OCP and vSphere for optimal operations and performance.
Reference Architecture
30 pages

Browse key resources and events

CYBER RESILIENCE
The Blueprint for Cyber Resilience Success

Explore how IT and security teams can seamlessly collaborate to minimize cyber vulnerabilities and avoid attacks.

Show Me How
AI WORKSHOP
Unlock AI Success with Pure Storage and NVIDIA

Join us for an exclusive workshop to turn AI pilots into production-ready deployments.

Register Now
WEBINAR
The Future of File Storage: It’s Here, and It’s Simpler Than You Think
Dec 19, 2024 | Multiple Times Zones Available

Join us December 19 for a frank, insightful discussion by industry experts, including Matthew Kimball, VP & Principal Analyst at Moor Insights & Strategy. They’ll dive into the future of storage and share how a unified platform can make managing all your storage types a breeze.

Register Now
SAVE THE DATE
Mark Your Calendar for Pure//Accelerate® 2025

We're back in Las Vegas June 17-19, taking data storage to the next level.

Join the Mailing List
CONTACT US
Meet with an Expert

Let’s talk. Book a 1:1 meeting with one of our experts to discuss your specific needs.

Questions, Comments?

Have a question or comment about Pure products or certifications?  We’re here to help.

Schedule a Demo

Schedule a live demo and see for yourself how Pure can help transform your data into powerful outcomes. 

Call Sales: 800-976-6494

Mediapr@purestorage.com

 

Pure Storage, Inc.

2555 Augustine Dr.

Santa Clara, CA 95054

800-379-7873 (general info)

info@purestorage.com

CLOSE
Your Browser Is No Longer Supported!

Older browsers often represent security risks. In order to deliver the best possible experience when using our site, please update to any of these latest browsers.