Chapter 9 Linux Containers

Table of Contents

9.1 About Linux Containers
9.2 Configuring Operating System Containers
9.2.1 Installing and Configuring the Software
9.2.2 Setting up the File System for the Containers
9.2.3 Creating and Starting a Container
9.2.4 About the lxc-oracle Template Script
9.2.5 About Veth and Macvlan
9.2.6 Modifying a Container to Use Macvlan
9.3 Logging in to Containers
9.4 Creating Additional Containers
9.5 Monitoring and Shutting Down Containers
9.6 Starting a Command Inside a Running Container
9.7 Controlling Container Resources
9.8 Deleting Containers
9.9 Running Application Containers
9.10 For More Information About Linux Containers

This chapter describes how to use Linux Containers (LXC) to isolate applications and entire operating system images from the other processes that are running on a host system. The version of LXC described here is 0.8.0 or later, which ships with Oracle Linux 6.4 and has some significant enhancements over previous versions.

For information about how to use the Docker Engine to create application containers, see Chapter 10, Docker.