Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
The KCNA Book

You're reading from   The KCNA Book Pass the Kubernetes and Cloud Native Associate exam in style

Arrow left icon
Product type Paperback
Published in Jun 2023
Publisher
ISBN-13 9781835080399
Length 197 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Nigel Poulton Nigel Poulton
Author Profile Icon Nigel Poulton
Nigel Poulton
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

1. Getting started 2. 1: Setting the scene FREE CHAPTER 3. 2: Cloud native architecture 4. 3: Container orchestration 5. 4: Kubernetes Fundamentals 6. 5: Cloud native application delivery 7. 6: Cloud native observability 8. The exam 9. 8: Sample test
10. What next Appendix A: Chapter quiz answers 1. Appendix B: Sample Test answers

Container security

There are several security risks that are particularly relevant to containers. We’ll cover the following.

  • Shared kernels
  • Root containers
  • Unsecured networks
  • Untrusted code

Containers and shared kernels

Before going any further, kernel is a technical term for the core functionality of an operating system. For example, the core of the Windows operating system is the Windows NT kernel, and the core of Linux operating systems is the Linux kernel. We often use the terms operating system and kernel to mean the same thing.

Namespaced containers are the most popular type of container and operate a shared kernel model. This means all containers running on the same node share the node’s kernel. As an example, 25 containers running on the same node will all share the node’s kernel. This is a big part of why containers are small and start fast, but it’s a security risk. For example, if the node’s kernel is hacked or compromised,...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime