From b3f49a0cda17e145677cbef59d4f3e592067d0ef Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 1 Mar 2025 16:22:45 +0200 Subject: [PATCH 01/11] Create lxc-checkconfig.md --- pages/linux/lxc-checkconfig.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/linux/lxc-checkconfig.md diff --git a/pages/linux/lxc-checkconfig.md b/pages/linux/lxc-checkconfig.md new file mode 100644 index 00000000000000..972c2395fc28d4 --- /dev/null +++ b/pages/linux/lxc-checkconfig.md @@ -0,0 +1,12 @@ +# lxc-checkconfig + +> Check a kernel for LXC support. +> More information: . + +- Check the current kernel for LXC support: + +`lxc-checkconfig` + +- Don't show informative messages: + +`CONFIG=/path/to/configuration initramfs-linux-zen.img` From 2c4c21d0899e3fabfe2ce16549dd7c07948e3047 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 1 Mar 2025 16:35:37 +0200 Subject: [PATCH 02/11] Update lxc-ls.md --- pages/linux/lxc-ls.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/lxc-ls.md b/pages/linux/lxc-ls.md index 5a5ffc47eb955b..d6b33fd1b4f4cc 100644 --- a/pages/linux/lxc-ls.md +++ b/pages/linux/lxc-ls.md @@ -3,6 +3,10 @@ > List Linux containers. > More information: . +- List all containers: + +`sudo lxc-ls` + - List active containers (including frozen and running): `lxc-ls --active` From 2bb2f829e5cc8778972a0a55de7c72db25cfdcce Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 1 Mar 2025 17:12:22 +0200 Subject: [PATCH 03/11] Create lxc-destroy.md --- pages/linux/lxc-destroy.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pages/linux/lxc-destroy.md diff --git a/pages/linux/lxc-destroy.md b/pages/linux/lxc-destroy.md new file mode 100644 index 00000000000000..5002d7cc881d29 --- /dev/null +++ b/pages/linux/lxc-destroy.md @@ -0,0 +1,8 @@ +# lxc-destroy + +> Delete a container. +> More information: . + +- Delete a container: + +`sudo lxc-destroy {{container_name}}` From bffd2e91c422c226a330626ca7754e60e4bc8c89 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 1 Mar 2025 21:22:04 +0200 Subject: [PATCH 04/11] Create lxc-stop.md --- pages/linux/lxc-stop.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pages/linux/lxc-stop.md diff --git a/pages/linux/lxc-stop.md b/pages/linux/lxc-stop.md new file mode 100644 index 00000000000000..e63cc62d8c73bc --- /dev/null +++ b/pages/linux/lxc-stop.md @@ -0,0 +1,8 @@ +# lxc-stop + +> Stop a container. +> More information: . + +- Stop a container: + +`sudo lxc-stop` From 19a2783a9d3cebfa8bac1c7f4087a628694d5a54 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 1 Mar 2025 21:27:33 +0200 Subject: [PATCH 05/11] Update lxc-stop.md --- pages/linux/lxc-stop.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/lxc-stop.md b/pages/linux/lxc-stop.md index e63cc62d8c73bc..6ad82e5b92f691 100644 --- a/pages/linux/lxc-stop.md +++ b/pages/linux/lxc-stop.md @@ -5,4 +5,4 @@ - Stop a container: -`sudo lxc-stop` +`sudo lxc-stop {{container_name}}` From 25ee65c234ddc9add7736ef21d6413b7fd0d5f0e Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 1 Mar 2025 21:28:17 +0200 Subject: [PATCH 06/11] Create lxc-start.md --- pages/linux/lxc-start.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pages/linux/lxc-start.md diff --git a/pages/linux/lxc-start.md b/pages/linux/lxc-start.md new file mode 100644 index 00000000000000..e011b51b991101 --- /dev/null +++ b/pages/linux/lxc-start.md @@ -0,0 +1,8 @@ +# lxc-start + +> Start a container. +> More information: . + +- Start a container: + +`sudo lxc-start {{container_name}}` From d4556e1f09ec647801f694d48c63e05955ec3db9 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 1 Mar 2025 22:16:42 +0200 Subject: [PATCH 07/11] Update lxc-checkconfig.md --- pages/linux/lxc-checkconfig.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/lxc-checkconfig.md b/pages/linux/lxc-checkconfig.md index 972c2395fc28d4..c9a9727e373a0e 100644 --- a/pages/linux/lxc-checkconfig.md +++ b/pages/linux/lxc-checkconfig.md @@ -9,4 +9,4 @@ - Don't show informative messages: -`CONFIG=/path/to/configuration initramfs-linux-zen.img` +`CONFIG=/path/to/configuration lxc-checkconfig` From 2b9c5189b3c17fffc904b48f2c85be60499ae716 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 1 Mar 2025 22:51:37 +0200 Subject: [PATCH 08/11] Update lxc-checkconfig.md --- pages/linux/lxc-checkconfig.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/lxc-checkconfig.md b/pages/linux/lxc-checkconfig.md index c9a9727e373a0e..4bcd72d55f6050 100644 --- a/pages/linux/lxc-checkconfig.md +++ b/pages/linux/lxc-checkconfig.md @@ -9,4 +9,4 @@ - Don't show informative messages: -`CONFIG=/path/to/configuration lxc-checkconfig` +`CONFIG={{/path/to/configuration}} lxc-checkconfig` From 7cdae42a162ed52c0a9a598cbae1a2dbd63d7c19 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 1 Mar 2025 22:53:26 +0200 Subject: [PATCH 09/11] Update lxc-checkconfig.md --- pages/linux/lxc-checkconfig.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/lxc-checkconfig.md b/pages/linux/lxc-checkconfig.md index 4bcd72d55f6050..dbdc3770a0b675 100644 --- a/pages/linux/lxc-checkconfig.md +++ b/pages/linux/lxc-checkconfig.md @@ -7,6 +7,6 @@ `lxc-checkconfig` -- Don't show informative messages: +- Check any kernel for LXC support: `CONFIG={{/path/to/configuration}} lxc-checkconfig` From f300f12c28d04f5267f72a67a79bc658fa7acc28 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 2 Mar 2025 11:12:22 +0200 Subject: [PATCH 10/11] Create lxc-info.md --- pages/linux/lxc-info.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pages/linux/lxc-info.md diff --git a/pages/linux/lxc-info.md b/pages/linux/lxc-info.md new file mode 100644 index 00000000000000..1753c5c856a81b --- /dev/null +++ b/pages/linux/lxc-info.md @@ -0,0 +1,8 @@ +# lxc-info + +> Get info on a container. +> More information: . + +- Query information from a container: + +`sudo lxc-info {{container_name}}` From 5e0e8e7222847a912b4f3dc58373b2aaa13439b8 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Mon, 3 Mar 2025 09:07:36 +0200 Subject: [PATCH 11/11] Create lxc-attach.md --- pages/linux/lxc-attach.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pages/linux/lxc-attach.md diff --git a/pages/linux/lxc-attach.md b/pages/linux/lxc-attach.md new file mode 100644 index 00000000000000..749f2ee49b2b7c --- /dev/null +++ b/pages/linux/lxc-attach.md @@ -0,0 +1,8 @@ +# lxc-attach + +> Attach to a container. +> More information: . + +- Attach to a container: + +`sudo lxc-attach {{container_name}}`