The fundamental problem with containers is they are only as secure as the programs within them. But knowing about the ways to strengthen security in specific platforms can improve the situation significantly. So let’s cover the types of container platforms first.
Container Platforms
Docker is a popular Platform as a Service (PaaS) that allows you to create and deploy applications and services in the form of containers. It utilizes the host OS Kernel instead of hypervisors like VirtualBox. Since Docker is working on the top of OS, it’s vital to update both regularly to cover all vulnerabilities.
Kubernetes, also known as K8s, is an open-source container orchestration system for automating computer app deployment, scaling, and management. You can install it yourself or use a cloud solution.
Nomad and OpenShift are famous Kubernetes alternatives. Nomad is a simple workload orchestrator that allows to deploy and manage both containers and non-containerized applications. And OpenShift is a hybrid cloud foundation for building and scaling containerized apps.
Pretty much every cloud provides its flavor of Kubernetes, but those aren’t the only container platforms they offer. Among the non-Kubernetes cloud container solutions, we can mention ECS in AWS, Cloud Run in GCP, and Container Apps (as well as ACI) in Azure. They all have automatic security patching that is hard to track. That means security in the cloud container solutions entirely depends on their content.
Legend says updating platforms wreaks havoc and brings fresh vulnerabilities, so it’s better not to update it at all. We want to dispel this myth and recommend you make regular updates since they cover existing vulnerabilities. And to avoid fresh issues brought by the new functionality, read the version changelog.