DevSecOps: Slaying the Myths of Container Security

DZone 's Guide to

DevSecOps: Slaying the Myths of Container Security

How do containers both introduce and solve common security challenges? Containers are a net benefit for security-minded organizations.

· DevOps Zone ·
Free Resource

Containers are clearly appealing for companies and development teams who want to deliver and iterate on their software faster and efficiently. This is achieved through more consistent, simple, and repeatable deployments, rapid rollback, and simpler ways of orchestrating and scaling distributed applications.

The survey shows, however, that security is very relevant to organizations that are looking to deploy containerized applications. Though the question referred to concerns, we believe that security is relevant to containerization in both in the positive and negative senses. How do containers both introduce and solve common security challenges?


Slaying the Myths

There are a lot of myths about container security.  Though there have been demonstrated exploits of people, for instance, breaking out of containers or attacking container daemons in various ways, we believe that when you consider both sides as above, containers are a net benefit for security-minded organizations. In principle, containerized applications give us tens of different ways of introducing new security approaches that reduce attack vectors and minimize attack surface areas. 

What organizations do need is a lot of education — first, to put some of the myths to bed, and then to educate on how to achieve container security in an optimal way.

Achieving Container Security

There are many approaches that teams can bring to the table to maximize security in a containerised environment.

Least Privilege

By default, containers add layers of protection and sandboxing around a process. These protections ensure that processes are not allowed to interact with other processes, or the underlying host operating system in any way other than that explicitly allowed. By default, container platforms are locked down, but there can be additional restrictions applied at the time that you start the daemon or container.

Reducing Attack Surface

Both containers and other pieces of the platform such as the daemon or orchestrator should also be configured with the minimal possible scope for attack.  

Container Registry

Companies want to ensure that rogue, untested, or unlicensed software is not entering the organization. To achieve this, companies will deploy an enterprise private registry as a central store of containers. These containers can then be validated, scanned, and configured with the proper access controls to ensure a single source of the truth.  

Container Signing

Container orchestration platforms will integrate container signing mechanisms to ensure that we are only running trusted code inside the organization's boundaries.  

Should the 88% Be Concerned?

The survey shows that 88% of people have some degree of concern around security of containers. Hopefully, this short article has made the case that there are many myths leading to these concerns, and many options in how you deploy your container platform for adding security into your environment.

This blog is one of seven in a series providing expert commentary and analysis on the results from Sonatype’s 2017 DevSecOps Community Survey. For access to all of the blogs in this series and the survey report, see here. Benjamin Wootton (@benjaminwootton) is the co-founder and CTO of Contino and is a guest blogger for Sonatype's 2017 DevSecOps Community Survey.

devsecops ,devops ,containers

Published at DZone with permission of Benjamin Wootton , DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}