Photon OS
By VMware
Photon OS is an open-source, minimal Linux distribution built by VMware and optimized for running containers and cloud-native workloads on VMware's virtualization platforms as well as public clouds. It ships a small footprint, a Linux…
Definition
Photon OS is an open-source, minimal Linux distribution built by VMware and optimized for running containers and cloud-native workloads on VMware's virtualization platforms as well as public clouds. It ships a small footprint, a Linux kernel tuned for virtualized environments, and native support for container runtimes, aiming to boot quickly and minimize the attack surface of the host operating system.
Overview
As container adoption grew, infrastructure teams needed a host operating system purpose-built to run containers rather than a general-purpose distribution repurposed for the job. VMware created Photon OS to serve as a lightweight, secure base image and virtual machine operating system tailored specifically to virtualized and cloud-native environments, particularly within its own vSphere and cloud ecosystem. Photon OS is built around a Linux kernel patched and tuned for performance inside VMware hypervisors, paired with the RPM-based package manager tdnf (a lighter alternative to DNF) for managing its minimal package set. It uses a hardened default configuration, including a locked-down kernel and a small set of enabled services, to reduce the number of components that could introduce vulnerabilities. Photon ships pre-integrated with Docker and other container runtimes, and its images are built to boot in a few seconds, which matters when container hosts are provisioned and torn down frequently in an orchestrated environment. Among minimal Linux distributions, Photon OS is often compared to Alpine Linux and CoreOS-derived offerings: Alpine is smaller still and uses musl libc, favoring extreme minimalism for container images, while Photon OS targets running full virtual machine hosts with glibc compatibility, aiming for compatibility with a broader range of existing Linux software than Alpine typically offers. It is more tightly coupled to VMware's ecosystem than general-purpose alternatives, since it ships as the default guest OS option for several VMware appliances. In practice, Photon OS is used as the base operating system for VMware appliances, as a lightweight VM template for running containerized workloads on vSphere, and as a base image for building container images intended for VMware-centric infrastructure. Organizations running Kubernetes on VMware infrastructure, including VMware's own Tanzu platform, have historically used Photon OS as the underlying node operating system. Its close association with VMware's product line is also a limitation outside that context: teams not already invested in VMware infrastructure have less reason to choose Photon OS over more widely adopted alternatives like Alpine, Ubuntu Server, or Flatcar Container Linux, which have broader community support and package ecosystems. Photon's smaller user base outside VMware environments also means fewer third-party resources and community troubleshooting guides are available. Teams evaluating it purely on technical merit, without an existing VMware footprint, often find the switching cost of adopting an unfamiliar distribution outweighs the marginal security and boot-time benefits it offers over a distribution they already know well and can staff and troubleshoot more easily.
Key Features
- Provides a minimal Linux footprint optimized for VMware virtualization
- Uses tdnf, a lightweight RPM-based package manager, for software installation
- Ships pre-integrated support for Docker and other container runtimes
- Boots quickly to suit frequently provisioned virtual machine workloads
- Applies a hardened default kernel and service configuration for security
- Serves as the default guest OS for several VMware appliances
- Maintains glibc compatibility for broader software portability than musl-based alternatives
- Is actively maintained as an open-source project on GitHub