Analysing Linus Torvald's Critique of Docker
Open Source For You|November 2024
This article looks at Docker's security flaws, particularly its shared-kernel model, and contrasts it with traditional VMs for better isolation. It discusses Linus Torvalds' concerns, explores mitigation techniques, and proposes a roadmap for building a more secure containerisation platform using hardware-assisted virtualisation, true isolation, and a robust orchestration layer.
Dr Chinmoy Kumar
Analysing Linus Torvald's Critique of Docker

Docker revolutionised the way we think about software deployment. It’s a lightweight, portable, and scalable solution for containerising applications. But there’s a flag—Linus Torvalds. Or more precisely, Linus’s apprehensions with this tech. I have been in the tech space for a good 15 years now. And as far as I can tell, Linus Torvald’s intuition about a piece of technology has never failed him.

Take blockchain for instance. When everyone was going gaga over the technology back in 2020, Linus didn’t seem all that excited. The sheer complexity of the technology bothered him, and he could already see the issues with scalability of such technologies. Similarly, consider his current stance on the AI boom. While he is impressed by the incredible developments taking place, he is not too sold on the whole AGI hype. It’s easy to see that he has a nose for smelling tech ‘bs’ from a mile away and I trust that.

So when it comes to his critique of Docker, I decided to take it seriously and pay close attention to the aspects of the technology that seem to bother him. My hope is that by the end of this article, I may be able to better articulate the issues in Docker from Linus’s perspective, while also providing potential solutions and next steps for this tech.

Architecture

To understand Docker’s security limitations, we need to examine its core architecture, which revolves around Linux features like namespaces and cgroups (control groups). These components are crucial for container isolation, but they’re not designed to provide the kind of security guarantees you’d expect from full virtualisation.

Docker utilises Linux namespaces to create the illusion of isolation by partitioning kernel resources.

Here’s a breakdown of how each namespace contributes.

  • PID namespace: Provides separate process ID trees, so each container believes it has its own PID space.

This story is from the November 2024 edition of Open Source For You.

Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.

This story is from the November 2024 edition of Open Source For You.

Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.

MORE STORIES FROM OPEN SOURCE FOR YOUView All
Amazon Bedrock: A Boon for the Financial Services Industry
Open Source For You

Amazon Bedrock: A Boon for the Financial Services Industry

Amazon Bedrock is a fully managed service that provides access to foundation models from top AI providers, enabling organisations to build and scale generative AI applications. It is specifically designed to bring AI solutions to the financial sector. Let's explore all that it can do...

time-read
9 mins  |
December 2024
Quantum-Safe VPNs: The Future of Secure Communication
Open Source For You

Quantum-Safe VPNs: The Future of Secure Communication

As quantum computing continues to advance, it poses a significant threat to traditional cryptographic algorithms that secure our digital communications. Virtual private networks (VPNs), which rely heavily on encryption, are particularly vulnerable. Quantum-safe VPNs utilise post-quantum cryptographic algorithms to protect against quantum attacks.

time-read
3 mins  |
December 2024
Popular Open Source Toolkits for Quantum Machine Learning
Open Source For You

Popular Open Source Toolkits for Quantum Machine Learning

Quantum machine learning is becoming increasingly popular due to its ability to solve the complex problems of the AI age. Here are a few open source libraries and frameworks that help with quantum computations.

time-read
5 mins  |
December 2024
Quantum Computing: Harnessing Open Source for Innovation and Accessibility
Open Source For You

Quantum Computing: Harnessing Open Source for Innovation and Accessibility

We explore how open source initiatives are shaping the future of quantum computing, making it more accessible and driving innovation through collaboration.

time-read
9 mins  |
December 2024
How Quantum Computing Differs from Classical Computing
Open Source For You

How Quantum Computing Differs from Classical Computing

Despite being in its infancy, quantum computing has numerous potential applications in modelling, cybersecurity, AI/ML, and other fields. But how do quantum and classical computing compare with each other? Let's find out...

time-read
4 mins  |
December 2024
From Bits to Qubits: The Growth Story of Quantum Computing
Open Source For You

From Bits to Qubits: The Growth Story of Quantum Computing

Quantum computing may still be in the early stages of evolution, but its potential impact on everyday life is significant. We delve into the key concepts behind it, the reasons for its rapid growth, and how global advancements are shaping its future.

time-read
10+ mins  |
December 2024
Pytket: A Comprehensive Guide to Quantum Circuit Design
Open Source For You

Pytket: A Comprehensive Guide to Quantum Circuit Design

Pytket stands out as a powerful toolkit in the realm of quantum computing, offering a suite of features that cater to both researchers and industry practitioners. Its key strengths include optimisation, platform-agnostic support, flexible quantum circuit design and hybrid algorithm support. These features make Pytket a versatile tool for various quantum computing applications, from machine learning and cryptography to optimisation problems in industrial settings.

time-read
10+ mins  |
December 2024
Cirq: The Open Source Framework for Programming Quantum Computers
Open Source For You

Cirq: The Open Source Framework for Programming Quantum Computers

Explore the key features, capabilities, and impact of Cirq, an open source quantum computing framework developed by Google, on the quantum programming landscape.

time-read
4 mins  |
December 2024
The Role of Open Source in Accelerating Quantum AI
Open Source For You

The Role of Open Source in Accelerating Quantum AI

Here's an overview of how open source frameworks are being utilised to build quantum machine learning models, including quantum neural networks and quantum kernel methods. The challenges and future directions in the quantum AI landscape are also discussed.

time-read
7 mins  |
December 2024
Quantum Machine Learning: An Overview
Open Source For You

Quantum Machine Learning: An Overview

Quantum machine learning (QML) is a burgeoning field at the intersection of quantum computing and artificial intelligence. In recent years, the integration of quantum mechanics with machine learning algorithms has sparked substantial interest among researchers and technologists alike. Here's a quick look at the essentials of creating quantum algorithms for AI models, their practical use cases on open source platforms, and best practices for implementing these advanced algorithms.

time-read
7 mins  |
December 2024