SlideShare a Scribd company logo
Securing your Containers
Steps to becoming Seaworthy
Riyaz Faizullabhoy - @riyazdf
Docker Security Team
Securing the pipeline
Build Ship Run
• Official Images
• Docker Bench for Security
• Docker Content Trust
• Nautilus
• User Namespaces
• Cgroups
• Capabilities
• Seccomp
• Apparmor
Securing your Containers (Meetup at Docker HQ 4/7)
Securing the pipeline
Build Ship Run
• Official Images
• Docker Bench for Security
• Docker Content Trust
• Nautilus
• User Namespaces
• Cgroups
• Capabilities
• Seccomp
• Apparmor
Official Images
• Vetted for best practices
• Scanned for CVEs
• Lobby upstream to fix security problems
• Promptly updated
• Check for secure daemon + system
configuration
• Audit containers in context
• Check for best practices
Docker Bench for Security
Securing the pipeline
Build Ship Run
• Official Images
• Docker Bench for Security
• Docker Content Trust
• Nautilus
• User Namespaces
• Cgroups
• Capabilities
• Seccomp
• Apparmor
Docker Content Trust
• Sign images at point of authorship (using
Notary)
• Removes implicit trust of storage service and
network
• Guarantee integrity of your images when
pulled
Nautilus
• Scan images for CVEs
• Detects vulns in libraries statically compiled into
binaries
Securing the pipeline
Build Ship Run
• Official Images
• Docker Bench for Security
• Docker Content Trust
• Nautilus
• User Namespaces
• Cgroups
• Capabilities
• Seccomp
• Apparmor
User Namespaces
• Map users and groups to their own UID/GID range
• TL;DR - Root in a container is not root
outside a container
Docker Host
Container 1 Container 2 Container 3
Control Groups
• a.k.a cgroups
• Control resource usage of a container
• Good for container multitenancy
Capabilities
• No longer root vs. non-root
• Finer grained control on what the process can do
Seccomp
• SECure COMPuting mode.
• Filter permitted system calls
AppArmor
• Per process security profiles
• Define once, apply many times
• Finest grained control
Securing the pipeline
Build Ship Run
• Official Images
• Docker Bench for Security
• Docker Content Trust
• Nautilus
• User Namespaces
• Cgroups
• Capabilities
• Seccomp
• Apparmor
THANK YOU

More Related Content

PDF
Docker & kubernetes
PDF
Docker swarm-mike-goelzer-mv-meetup-45min-workshop 02242016 (1)
PPTX
Docker Container As A Service - March 2016
PDF
Docker Birthday #3 - Intro to Docker Slides
PDF
Docker Online Meetup: Infrakit update and Q&A
PPTX
Docker basics
PDF
Introduction to Docker - IndiaOpsUG
PPTX
Docker Datacenter Overview and Production Setup Slides
Docker & kubernetes
Docker swarm-mike-goelzer-mv-meetup-45min-workshop 02242016 (1)
Docker Container As A Service - March 2016
Docker Birthday #3 - Intro to Docker Slides
Docker Online Meetup: Infrakit update and Q&A
Docker basics
Introduction to Docker - IndiaOpsUG
Docker Datacenter Overview and Production Setup Slides

What's hot (20)

PDF
Production Ready Containers from IBM and Docker
PDF
Monitoring Dell Infrastructure using Docker & Microservices
PDF
Orchestrating Linux Containers while tolerating failures
PPTX
Introduction to Docker - 2017
PDF
Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...
PPTX
Docker Roadshow 2016
PPTX
DockerCon EU 2015: Nesting Containers: Real Life Observations
PPTX
Global Persistence for Docker
PPTX
How to be successful running Docker in Production
ODP
Practical Container Security by Mrunal Patel and Thomas Cameron, Red Hat
PDF
Highly Available Persistent Applications in Containers by Kendrick Coleman, E...
PDF
DockerCon EU 2015: Day 1 General Session
PPTX
Docker Online Meetup #30: Docker Trusted Registry 1.4.1
PDF
DockerCon EU 2015: The Latest in Docker Engine
PPTX
Docker Bday #5, SF Edition: Introduction to Docker
PDF
DockerCon SF 2015: DHE/DTR
PPTX
Docker Platform 1.9
PPTX
Containers orchestrators: Docker vs. Kubernetes
PDF
Automation and Collaboration Across Multiple Swarms Using Docker Cloud - Marc...
PDF
Intro to docker - innovation demo 2022
Production Ready Containers from IBM and Docker
Monitoring Dell Infrastructure using Docker & Microservices
Orchestrating Linux Containers while tolerating failures
Introduction to Docker - 2017
Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...
Docker Roadshow 2016
DockerCon EU 2015: Nesting Containers: Real Life Observations
Global Persistence for Docker
How to be successful running Docker in Production
Practical Container Security by Mrunal Patel and Thomas Cameron, Red Hat
Highly Available Persistent Applications in Containers by Kendrick Coleman, E...
DockerCon EU 2015: Day 1 General Session
Docker Online Meetup #30: Docker Trusted Registry 1.4.1
DockerCon EU 2015: The Latest in Docker Engine
Docker Bday #5, SF Edition: Introduction to Docker
DockerCon SF 2015: DHE/DTR
Docker Platform 1.9
Containers orchestrators: Docker vs. Kubernetes
Automation and Collaboration Across Multiple Swarms Using Docker Cloud - Marc...
Intro to docker - innovation demo 2022
Ad

Viewers also liked (20)

PDF
Building Images from dockerfiles
PDF
DockerCon SF 2015: From Months to Minutes
PDF
Distributed, Real-time Web Apps
PPTX
DockerCon SF 2015: Education for a digital world
PPTX
Dockerizing Stashboard
PDF
Dockercon Swarm Updated
PDF
DockerCon EU 2015: The Glue is the Hard Part: Making a Production-Ready PaaS
PPTX
Dockerizing WordPress
PDF
DockerCon SF 2015: How to Build a Secure DevOps Environment for the Government
PDF
Deploying Containers and Managing Them
PPTX
DockerCon 14 Keynote Day 2
PDF
Victor Vieux at Docker Paris Meetup #1
PDF
LXC to Docker Via Continuous Delivery
PDF
Making it Easier to Contribute to Open Source Projects Using Docker Container...
PPTX
DockerCon SF 2015: Panel Discussion Birds of a Different Feather Soar Together
PPTX
DockerCon14 Automated Chef Cookbook Testing
PDF
Introduction to Docker I Docker Workshop @ Twitter
PPTX
DockerCon SF 2015: Orchestration for Devs (machine + compose)
PDF
DockerCon SF 2015: Beyond CI to Production Scale PaaS with Docker
PDF
Understanding Containers through Gaming by Brendan Fosberry
Building Images from dockerfiles
DockerCon SF 2015: From Months to Minutes
Distributed, Real-time Web Apps
DockerCon SF 2015: Education for a digital world
Dockerizing Stashboard
Dockercon Swarm Updated
DockerCon EU 2015: The Glue is the Hard Part: Making a Production-Ready PaaS
Dockerizing WordPress
DockerCon SF 2015: How to Build a Secure DevOps Environment for the Government
Deploying Containers and Managing Them
DockerCon 14 Keynote Day 2
Victor Vieux at Docker Paris Meetup #1
LXC to Docker Via Continuous Delivery
Making it Easier to Contribute to Open Source Projects Using Docker Container...
DockerCon SF 2015: Panel Discussion Birds of a Different Feather Soar Together
DockerCon14 Automated Chef Cookbook Testing
Introduction to Docker I Docker Workshop @ Twitter
DockerCon SF 2015: Orchestration for Devs (machine + compose)
DockerCon SF 2015: Beyond CI to Production Scale PaaS with Docker
Understanding Containers through Gaming by Brendan Fosberry
Ad

Similar to Securing your Containers (Meetup at Docker HQ 4/7) (20)

PPTX
Understanding container security
PDF
Testing Docker Security Linuxlab 2017
PDF
Automate Your Container Deployments Securely
PPTX
Docker Security
PDF
OSDC 2016 - Inspecting Security of Docker formatted Container Images to find ...
PDF
DevOpsDaysRiga 2017: Chris Van Tuin - A DevOps State of Mind: Continuous Secu...
PDF
Testing Docker Images Security
PDF
Containers, docker, and security: state of the union (Bay Area Infracoders Me...
PDF
Containers, Docker, and Security: State Of The Union (LinuxCon and ContainerC...
PDF
Docker container security
PDF
Containers and security
PDF
Securing the Container Pipeline at Salesforce by Cem Gurkok
PDF
Deep Dive into Container Security
PDF
Docker Security - Continuous Container Security
PDF
Docker London: Container Security
PDF
Docker, Linux Containers, and Security: Does It Add Up?
PDF
How Secure Is Your Container? ContainerCon Berlin 2016
PDF
Security on a Container Platform
PDF
Everything you need to know about containers security
PPTX
Kubernetes and container security
Understanding container security
Testing Docker Security Linuxlab 2017
Automate Your Container Deployments Securely
Docker Security
OSDC 2016 - Inspecting Security of Docker formatted Container Images to find ...
DevOpsDaysRiga 2017: Chris Van Tuin - A DevOps State of Mind: Continuous Secu...
Testing Docker Images Security
Containers, docker, and security: state of the union (Bay Area Infracoders Me...
Containers, Docker, and Security: State Of The Union (LinuxCon and ContainerC...
Docker container security
Containers and security
Securing the Container Pipeline at Salesforce by Cem Gurkok
Deep Dive into Container Security
Docker Security - Continuous Container Security
Docker London: Container Security
Docker, Linux Containers, and Security: Does It Add Up?
How Secure Is Your Container? ContainerCon Berlin 2016
Security on a Container Platform
Everything you need to know about containers security
Kubernetes and container security

More from Docker, Inc. (20)

PDF
Containerize Your Game Server for the Best Multiplayer Experience
PDF
How to Improve Your Image Builds Using Advance Docker Build
PDF
Build & Deploy Multi-Container Applications to AWS
PDF
Securing Your Containerized Applications with NGINX
PDF
How To Build and Run Node Apps with Docker and Compose
PDF
Hands-on Helm
PDF
Distributed Deep Learning with Docker at Salesforce
PDF
The First 10M Pulls: Building The Official Curl Image for Docker Hub
PDF
Monitoring in a Microservices World
PDF
COVID-19 in Italy: How Docker is Helping the Biggest Italian IT Company Conti...
PDF
Predicting Space Weather with Docker
PDF
Become a Docker Power User With Microsoft Visual Studio Code
PDF
How to Use Mirroring and Caching to Optimize your Container Registry
PDF
Monolithic to Microservices + Docker = SDLC on Steroids!
PDF
Kubernetes at Datadog Scale
PDF
Labels, Labels, Labels
PDF
Using Docker Hub at Scale to Support Micro Focus' Delivery and Deployment Model
PDF
Build & Deploy Multi-Container Applications to AWS
PDF
From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...
PDF
Developing with Docker for the Arm Architecture
Containerize Your Game Server for the Best Multiplayer Experience
How to Improve Your Image Builds Using Advance Docker Build
Build & Deploy Multi-Container Applications to AWS
Securing Your Containerized Applications with NGINX
How To Build and Run Node Apps with Docker and Compose
Hands-on Helm
Distributed Deep Learning with Docker at Salesforce
The First 10M Pulls: Building The Official Curl Image for Docker Hub
Monitoring in a Microservices World
COVID-19 in Italy: How Docker is Helping the Biggest Italian IT Company Conti...
Predicting Space Weather with Docker
Become a Docker Power User With Microsoft Visual Studio Code
How to Use Mirroring and Caching to Optimize your Container Registry
Monolithic to Microservices + Docker = SDLC on Steroids!
Kubernetes at Datadog Scale
Labels, Labels, Labels
Using Docker Hub at Scale to Support Micro Focus' Delivery and Deployment Model
Build & Deploy Multi-Container Applications to AWS
From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...
Developing with Docker for the Arm Architecture

Recently uploaded (20)

PPTX
TLE Review Electricity (Electricity).pptx
PDF
Hybrid model detection and classification of lung cancer
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Mushroom cultivation and it's methods.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Chapter 5: Probability Theory and Statistics
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
Tartificialntelligence_presentation.pptx
PDF
Heart disease approach using modified random forest and particle swarm optimi...
TLE Review Electricity (Electricity).pptx
Hybrid model detection and classification of lung cancer
Hindi spoken digit analysis for native and non-native speakers
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Web App vs Mobile App What Should You Build First.pdf
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Zenith AI: Advanced Artificial Intelligence
Encapsulation_ Review paper, used for researhc scholars
1 - Historical Antecedents, Social Consideration.pdf
Programs and apps: productivity, graphics, security and other tools
Mushroom cultivation and it's methods.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Chapter 5: Probability Theory and Statistics
A comparative study of natural language inference in Swahili using monolingua...
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Enhancing emotion recognition model for a student engagement use case through...
WOOl fibre morphology and structure.pdf for textiles
Tartificialntelligence_presentation.pptx
Heart disease approach using modified random forest and particle swarm optimi...

Securing your Containers (Meetup at Docker HQ 4/7)

  • 1. Securing your Containers Steps to becoming Seaworthy Riyaz Faizullabhoy - @riyazdf Docker Security Team
  • 2. Securing the pipeline Build Ship Run • Official Images • Docker Bench for Security • Docker Content Trust • Nautilus • User Namespaces • Cgroups • Capabilities • Seccomp • Apparmor
  • 4. Securing the pipeline Build Ship Run • Official Images • Docker Bench for Security • Docker Content Trust • Nautilus • User Namespaces • Cgroups • Capabilities • Seccomp • Apparmor
  • 5. Official Images • Vetted for best practices • Scanned for CVEs • Lobby upstream to fix security problems • Promptly updated
  • 6. • Check for secure daemon + system configuration • Audit containers in context • Check for best practices Docker Bench for Security
  • 7. Securing the pipeline Build Ship Run • Official Images • Docker Bench for Security • Docker Content Trust • Nautilus • User Namespaces • Cgroups • Capabilities • Seccomp • Apparmor
  • 8. Docker Content Trust • Sign images at point of authorship (using Notary) • Removes implicit trust of storage service and network • Guarantee integrity of your images when pulled
  • 9. Nautilus • Scan images for CVEs • Detects vulns in libraries statically compiled into binaries
  • 10. Securing the pipeline Build Ship Run • Official Images • Docker Bench for Security • Docker Content Trust • Nautilus • User Namespaces • Cgroups • Capabilities • Seccomp • Apparmor
  • 11. User Namespaces • Map users and groups to their own UID/GID range • TL;DR - Root in a container is not root outside a container Docker Host Container 1 Container 2 Container 3
  • 12. Control Groups • a.k.a cgroups • Control resource usage of a container • Good for container multitenancy
  • 13. Capabilities • No longer root vs. non-root • Finer grained control on what the process can do
  • 14. Seccomp • SECure COMPuting mode. • Filter permitted system calls
  • 15. AppArmor • Per process security profiles • Define once, apply many times • Finest grained control
  • 16. Securing the pipeline Build Ship Run • Official Images • Docker Bench for Security • Docker Content Trust • Nautilus • User Namespaces • Cgroups • Capabilities • Seccomp • Apparmor