SlideShare a Scribd company logo
LinuxKit
Justin Cormack
Engineer, Docker
Introducing LinuxKit
why?
LinuxKit
“In the cloud, we know exactly what we want a server to be, and if
we want to change that we simply terminate it and launch a new
server with a new AMI.”
Netflix Building with Legos, 2011
immutable delivery
“As a system administrator, one of the scariest things I ever
encounter is a server that’s been running for ages.
If you absolutely know a system has been created via automation
and never changed since the moment of creation, most of the
problems disappear.”
Chad Fowler,Trash Your Servers and Burn Your Code, 2013
immutable delivery
first desktop then cloud
immutable delivery was what we needed for reliability
• could not find an existing solution
• iterated since 2015
• found a design that is useful for others
• time to open source and get community input
built for Docker Editions
• batteries included, but removable
• fast to build
• build whole system in your CI pipeline
• fast to boot
• immutable in production
• designed to be managed by external tooling
• container native, cloud native
requirements
what?
LinuxKit
“A secure, portable and
lean operating system
built for containers”
Solomon Hykes
which can be replaced
The project provides the base containers to get started, with an
emphasis on minimalism and security
• you only need a few containers
• enough to bootstrap distributed applications
Secure defaults
community of contributors
The moby tool builds systems
• Moby project is a kit of parts
• LinuxKit is the first use case
• designed to put together distributed systems
• built from containers
Moby tool
The config file defines the whole system
• kernel
• boot scripts
• config containers
• service containers
Also defines what to output: ISOs, AMIs etc
yaml file defines boot image
kernel:
image: "linuxkit/kernel:4.9.x"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init
- linuxkit/runc
- linuxkit/containerd
onboot:
...
services:
...
yaml config file
services:
- name: nginx
image: "nginx:alpine"
capabilities:
- CAP_NET_BIND_SERVICE
- CAP_CHOWN
- CAP_SETUID
- CAP_SETGID
- CAP_DAC_OVERRIDE
net: host
let us take a look...
security
LinuxKit
“Use container-specific OSes instead of general-purpose ones to
reduce attack surfaces. When using a container-specific OS,
attack surfaces are typically much smaller than they would be with
a general-purpose OS, so there are fewer opportunities to attack
and compromise a container-specific OS.”
NIST draft Application Container Security Guide
Security
• include only what you need
• modern kernel, secure config
• moving system services to safe languages
• fuzz testing, review
• containerized services, minimal privileges
• testing and then shipping new security tech
Security
Talk today 5.10pm
Secure Substrate: Least Privilege Container Deployment
Security
managing clusters
InfraKit
A toolkit for creating and managing declarative, self-healing
infrastructure.
• Actively ensures desired state of infrastructure
• Plugin based
• Plugins for pets and cattle, raft stores etc
InfraKit
Introducing LinuxKit
Alternatives to Infrakit for managing a cluster
• Terraform
• AWS CloudFormation
• any tooling you like...
Other management tools
designing the future
Projects
• Kubernetes
• Wireguard
• Landlock eBPF LSM
• Clear Containers
• arm64 support, other architectures
• oKernel
many more... a lot around new security approaches
Looking to the future
Cutting edge projects
Roadmap
Best supported right now
• OSX/hyperkit, VMWare, Qemu/KVM
• Google Cloud, Packet.net
In progress, being ported but not integrated in CLI
• AWS, Azure, Windows, BlueMix, Clear Containers
• Arm64 support
Planned
• ARM, other architectures
• other cloud providers
Platform support
many improvements needed
• rewrite in safe languages such as Rust
• blueprints for different platforms
• improve security
• improved APIs
• reliability and testing
• new use cases, new platforms
lots of work to do
• chance to meet the maintainers and developers
• in depth discussions of Moby Project and LinuxKit
• discuss roadmap
• look at new use cases
• start hacking!
Moby Summit on Thursday
Start hacking!
github.com/linuxkit/linuxkit
@docker #dockercon
Demos!
github.com/linuxkit/linuxkit
@docker #dockercon

More Related Content

PDF
Effective Data Pipelines with Docker & Jenkins - Brian Donaldson
PDF
DockerCon EU 2015: The Latest in Docker Engine
PDF
Kubernetes in Docker
PDF
Containers, Clusters and Kubernetes - Brendan Burns - Defrag 2014
PDF
Docker Online Meetup: Infrakit update and Q&A
PPTX
Containerd Donation to CNCF Cloud Native Conference Berlin 2017
PPTX
The state of containerd
PPTX
Kubernetes Introduction
Effective Data Pipelines with Docker & Jenkins - Brian Donaldson
DockerCon EU 2015: The Latest in Docker Engine
Kubernetes in Docker
Containers, Clusters and Kubernetes - Brendan Burns - Defrag 2014
Docker Online Meetup: Infrakit update and Q&A
Containerd Donation to CNCF Cloud Native Conference Berlin 2017
The state of containerd
Kubernetes Introduction

What's hot (20)

PDF
From Code to Kubernetes
PDF
Proactive ops for container orchestration environments
PPTX
LlinuxKit security, Security Scanning and Notary
PPTX
DockerCon EU 2015: Cultural Revolution - How to Mange the Change Docker Brings
PPTX
Docker Meetup 08 03-2016
PDF
Docker on Docker
PDF
Platform Orchestration with Kubernetes and Docker
PDF
Online Meetup: What's new in docker 1.13.0
PDF
Kubernetes 架構與虛擬化之差異
PDF
Android Meets Docker
PDF
How to accelerate docker adoption with a simple and powerful user experience
PPTX
Docker Roadshow 2016
PPTX
Windows Server and Docker - The Internals Behind Bringing Docker and Containe...
PPTX
Global Persistence for Docker
PDF
Docker for Ops - Scott Coulton, Puppet
PDF
A vision of persistence
PPTX
Enabling Production Grade Containerized Applications through Policy Based Inf...
PDF
Configuration Management and Transforming Legacy Applications in the Enterpri...
PDF
Gordon's secret session kubernetes on windows
PDF
How to Integrate Kubernetes in OpenStack
From Code to Kubernetes
Proactive ops for container orchestration environments
LlinuxKit security, Security Scanning and Notary
DockerCon EU 2015: Cultural Revolution - How to Mange the Change Docker Brings
Docker Meetup 08 03-2016
Docker on Docker
Platform Orchestration with Kubernetes and Docker
Online Meetup: What's new in docker 1.13.0
Kubernetes 架構與虛擬化之差異
Android Meets Docker
How to accelerate docker adoption with a simple and powerful user experience
Docker Roadshow 2016
Windows Server and Docker - The Internals Behind Bringing Docker and Containe...
Global Persistence for Docker
Docker for Ops - Scott Coulton, Puppet
A vision of persistence
Enabling Production Grade Containerized Applications through Policy Based Inf...
Configuration Management and Transforming Legacy Applications in the Enterpri...
Gordon's secret session kubernetes on windows
How to Integrate Kubernetes in OpenStack
Ad

Similar to Introducing LinuxKit (20)

PDF
Online Meetup: Intro to LinuxKit
PDF
Understanding Docker and IBM Bluemix Container Service
PDF
Introduction to LinuxKit - Docker Bangalore Meetup
PPTX
Secure Your Containers: What Network Admins Should Know When Moving Into Prod...
PPTX
Containers, Serverless and Functions in a nutshell
PPTX
Oscon 2017: Build your own container-based system with the Moby project
PPTX
Moby Open Source Summit North America 2017
PPTX
Docker - Portable Deployment
PPTX
Docker Orchestration: Welcome to the Jungle! Devoxx & Docker Meetup Tour Nov ...
PPTX
Moby KubeCon 2017
PPTX
Being a Moby maintainer
PPTX
Adf with docker
PDF
Moby and linux kit, what to expect - Lorenzo Fontana, DevOps Expert at Kiratech
PPTX
Blockchain, 
Hyperledger fabric & Hyperledger cello
PPTX
.docker : How to deploy Digital Experience in a container, drinking a cup of ...
PDF
20220406 - SDAN_Presentation1_SDANOverview.pdf
PDF
Containerday17 Moby-linuxkit-DockerCon-2017-announcements
PPTX
Cont0519
PPTX
docker : how to deploy Digital Experience in a container drinking a cup of co...
PPTX
Building Distributed Systems without Docker, Using Docker Plumbing Projects -...
Online Meetup: Intro to LinuxKit
Understanding Docker and IBM Bluemix Container Service
Introduction to LinuxKit - Docker Bangalore Meetup
Secure Your Containers: What Network Admins Should Know When Moving Into Prod...
Containers, Serverless and Functions in a nutshell
Oscon 2017: Build your own container-based system with the Moby project
Moby Open Source Summit North America 2017
Docker - Portable Deployment
Docker Orchestration: Welcome to the Jungle! Devoxx & Docker Meetup Tour Nov ...
Moby KubeCon 2017
Being a Moby maintainer
Adf with docker
Moby and linux kit, what to expect - Lorenzo Fontana, DevOps Expert at Kiratech
Blockchain, 
Hyperledger fabric & Hyperledger cello
.docker : How to deploy Digital Experience in a container, drinking a cup of ...
20220406 - SDAN_Presentation1_SDANOverview.pdf
Containerday17 Moby-linuxkit-DockerCon-2017-announcements
Cont0519
docker : how to deploy Digital Experience in a container drinking a cup of co...
Building Distributed Systems without Docker, Using Docker Plumbing Projects -...
Ad

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
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPT
Teaching material agriculture food technology
DOCX
The AUB Centre for AI in Media Proposal.docx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
20250228 LYD VKU AI Blended-Learning.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Programs and apps: productivity, graphics, security and other tools
Network Security Unit 5.pdf for BCA BBA.
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Per capita expenditure prediction using model stacking based on satellite ima...
Chapter 3 Spatial Domain Image Processing.pdf
sap open course for s4hana steps from ECC to s4
Spectroscopy.pptx food analysis technology
Digital-Transformation-Roadmap-for-Companies.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Understanding_Digital_Forensics_Presentation.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
MIND Revenue Release Quarter 2 2025 Press Release
Teaching material agriculture food technology
The AUB Centre for AI in Media Proposal.docx
“AI and Expert System Decision Support & Business Intelligence Systems”

Introducing LinuxKit

  • 4. “In the cloud, we know exactly what we want a server to be, and if we want to change that we simply terminate it and launch a new server with a new AMI.” Netflix Building with Legos, 2011 immutable delivery
  • 5. “As a system administrator, one of the scariest things I ever encounter is a server that’s been running for ages. If you absolutely know a system has been created via automation and never changed since the moment of creation, most of the problems disappear.” Chad Fowler,Trash Your Servers and Burn Your Code, 2013 immutable delivery
  • 6. first desktop then cloud immutable delivery was what we needed for reliability • could not find an existing solution • iterated since 2015 • found a design that is useful for others • time to open source and get community input built for Docker Editions
  • 7. • batteries included, but removable • fast to build • build whole system in your CI pipeline • fast to boot • immutable in production • designed to be managed by external tooling • container native, cloud native requirements
  • 9. “A secure, portable and lean operating system built for containers” Solomon Hykes
  • 10. which can be replaced The project provides the base containers to get started, with an emphasis on minimalism and security • you only need a few containers • enough to bootstrap distributed applications Secure defaults
  • 12. The moby tool builds systems • Moby project is a kit of parts • LinuxKit is the first use case • designed to put together distributed systems • built from containers Moby tool
  • 13. The config file defines the whole system • kernel • boot scripts • config containers • service containers Also defines what to output: ISOs, AMIs etc yaml file defines boot image
  • 14. kernel: image: "linuxkit/kernel:4.9.x" cmdline: "console=ttyS0 console=tty0 page_poison=1" init: - linuxkit/init - linuxkit/runc - linuxkit/containerd onboot: ... services: ... yaml config file
  • 15. services: - name: nginx image: "nginx:alpine" capabilities: - CAP_NET_BIND_SERVICE - CAP_CHOWN - CAP_SETUID - CAP_SETGID - CAP_DAC_OVERRIDE net: host let us take a look...
  • 17. “Use container-specific OSes instead of general-purpose ones to reduce attack surfaces. When using a container-specific OS, attack surfaces are typically much smaller than they would be with a general-purpose OS, so there are fewer opportunities to attack and compromise a container-specific OS.” NIST draft Application Container Security Guide Security
  • 18. • include only what you need • modern kernel, secure config • moving system services to safe languages • fuzz testing, review • containerized services, minimal privileges • testing and then shipping new security tech Security
  • 19. Talk today 5.10pm Secure Substrate: Least Privilege Container Deployment Security
  • 21. A toolkit for creating and managing declarative, self-healing infrastructure. • Actively ensures desired state of infrastructure • Plugin based • Plugins for pets and cattle, raft stores etc InfraKit
  • 23. Alternatives to Infrakit for managing a cluster • Terraform • AWS CloudFormation • any tooling you like... Other management tools
  • 25. • Kubernetes • Wireguard • Landlock eBPF LSM • Clear Containers • arm64 support, other architectures • oKernel many more... a lot around new security approaches Looking to the future Cutting edge projects
  • 27. Best supported right now • OSX/hyperkit, VMWare, Qemu/KVM • Google Cloud, Packet.net In progress, being ported but not integrated in CLI • AWS, Azure, Windows, BlueMix, Clear Containers • Arm64 support Planned • ARM, other architectures • other cloud providers Platform support
  • 28. many improvements needed • rewrite in safe languages such as Rust • blueprints for different platforms • improve security • improved APIs • reliability and testing • new use cases, new platforms lots of work to do
  • 29. • chance to meet the maintainers and developers • in depth discussions of Moby Project and LinuxKit • discuss roadmap • look at new use cases • start hacking! Moby Summit on Thursday