From b25486ac27451bc83e29164bf016f55dd8d1ec07 Mon Sep 17 00:00:00 2001 From: medusa Date: Thu, 18 Apr 2024 23:55:20 +0000 Subject: [PATCH] Update docs/tech_docs/lxc.md --- docs/tech_docs/lxc.md | 58 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/docs/tech_docs/lxc.md b/docs/tech_docs/lxc.md index 417cc00..254c72e 100644 --- a/docs/tech_docs/lxc.md +++ b/docs/tech_docs/lxc.md @@ -1,3 +1,61 @@ +Certainly! Here's a concise LXC and cgroups administration reference guide using the 80/20 rule, focusing on the most essential concepts and commands: + +LXC and Cgroups Administration Reference Guide + +1. Installing LXC + - Ubuntu/Debian: `sudo apt-get install lxc` + - CentOS/RHEL: `sudo yum install lxc` + +2. Configuring LXC + - Configuration file: `/etc/lxc/default.conf` + - Network configuration: `/etc/lxc/lxc-usernet` + +3. Creating and Managing Containers + - Create a container: `sudo lxc-create -n -t