Use Linux containers as an alternative virtualization technique to virtualize your operating system environment. This book will cover LXC's unmatched flexibility with virtualization and LXD's smooth user experience.
Practical LXC and LXD
begins by introducing you to Linux containers (LXC and LXD). You will then go through use cases based on LXC and LXD. Next, you will see the internal workings of LXC and LXD by considering the repositories and templates used. You will then learn how to integrate LXC and LXD with common virtualization and orchestration tools such as libvirt and SaltStack. Finally, you will dive into containerization and security. The book will explore some of the common problems in security and provide a case study on how containerization can help mitigate some of the operating system-level security issues in an IoT environment.
What You Will Learn
Who This Book Is For
- Get an introduction to Linux containers
- Discover the basics of LXC and LXD
- See use cases that can be solved with LXC and LXD - for developers, devops, and system administrators
- Master LXC and LXD repositories
- Use LXC and LXD with common virtualization and orchestration tools
- Consider a containerization and security in IoT case study
The audience for this book should have basic knowledge of Linux and software development in general. The intended readership is primarily software developers, operations engineers, and system administrators who are interested in devops, though managers and enthusiasts will also benefit from this book.
Senthil Kumaran S, popularly called "stylesen" on the Internet, is from Chennai, India, and is currently working as a LAVA Software Engineer for Linaro Ltd., in Cambridge, UK. He is a free software enthusiast and contributes to many free open source software projects. He is a Full Committer of the Apache Subversion version control system project and a Project Management Committee (PMC) member at Apache Software Foundation. As a Debian Maintainer, Senthil maintains packages such as django-compat and many Linaro Automated Validation Architecture (LAVA)-related packages for the Debian operating system. He has previously authored the book Open Source in the Tamil language. Senthil has contributed many articles to Linux For You magazine and is a regular speaker at various technical events. He holds a bachelor's degree in Computer Science and Engineering from Thiagarajar College of Engineering, Madurai, India, and a master's degree in Software Systems from Birla Institute of Technology, Pilani, India.
Chapter 1: Introduction to Linux ContainersChapter Goal: This chapter gives a formal introduction to containers, what is the need for containers, how flexible are containers than traditional virtualization techniques. We also walk through some of the features which Linux kernel offers which helps in providing containerization. Touch upon containerization equivalents in other operating systems such as Solaris, BSD, Parallels, etc.No of pages 15 - 20 pages
Chapter 2: Installation Chapter Goal: Discuss various installation methods available in some major GNU/Linux distributions in order to install LXC and LXD.No of pages: 15 - 20 pages
Chapter 3: Basics and getting started with LXC, LXDChapter Goal: Explain what is LXC and LXD with some basics. The first steps towards using LXC and LXD will be discussed in this chapter.No of pages : 20 - 25 pages
Chapter 4: Use cases that will be solved by LXC and LXDChapter Goal: Discuss various use cases that could be addressed by using LXC and LXC for different classes of users.No of pages: 40 - 50 pagesSub - Topics: 1. For Developers2. Dev-ops3. System Administrators
Chapter 5: LXC, LXD repositoriesChapter Goal: This chapter discusses about using LXC, LXD repositories and the templates that are involved. It will give an overview on the internal working of LXC and LXD.No of pages: 15 - 20 pages
Chapter 6: LXC and LXD with common virtualization and orchestration toolsChapter Goal: This chapter discusses integrating LXC and LXD with commong virtualization and orchestration tools such as libvirt, SaltStack, etc.No of pages: 15 - 20 pages
Chapter 7: Containerization and security in IoT (Case Study)Chapter Goal: This chapter explores the common problems in IoT security and does a case study on how containerization can help mitigate some of the operating system level security issues in IoT environment.No of pages: 15 - 20 pages