更新时间:2021-07-09 19:26:56
封面
版权信息
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface
Chapter 1. Introduction to Linux Containers
The OS kernel and its early limitations
The case for Linux containers
Linux namespaces – the foundation of LXC
Summary
Chapter 2. Installing and Running LXC on Linux Systems
Installing LXC
Building and manipulating LXC containers
Chapter 3. Command-Line Operations Using Native and Libvirt Tools
Using the LVM backing store
Using the Btrfs backing store
Using the ZFS backing store
Autostarting LXC containers
LXC container hooks
Attaching directories from the host OS and exploring the running filesystem of a container
Freezing a running container
Limiting container resource usage
Building and running LXC containers with libvirt
Chapter 4. LXC Code Integration with Python
LXC Python bindings
Libvirt Python bindings
Vagrant and LXC
Putting it all together – building a simple RESTful API to LXC with Python
Chapter 5. Networking in LXC with the Linux Bridge and Open vSwitch
Software bridging in Linux
Connecting LXC to the host network
Chapter 6. Clustering and Horizontal Scaling with LXC
Scaling applications with LXC
Chapter 7. Monitoring and Backups in a Containerized World
Backing up and migrating LXC
Monitoring and alerting on LXC metrics
Simple autoscaling pattern with LXC Jenkins and Sensu
Chapter 8. Using LXC with OpenStack
Deploying OpenStack with LXC support on Ubuntu
Appendix A. LXC Alternatives to Docker and OpenVZ
Building containers with OpenVZ
Building containers with Docker
Running unprivileged LXC containers