diff --git a/pages/linux/lxc-attach.md b/pages/linux/lxc-attach.md new file mode 100644 index 0000000000..749f2ee49b --- /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}}` diff --git a/pages/linux/lxc-checkconfig.md b/pages/linux/lxc-checkconfig.md new file mode 100644 index 0000000000..dbdc3770a0 --- /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` + +- Check any kernel for LXC support: + +`CONFIG={{/path/to/configuration}} lxc-checkconfig` diff --git a/pages/linux/lxc-destroy.md b/pages/linux/lxc-destroy.md new file mode 100644 index 0000000000..5002d7cc88 --- /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}}` diff --git a/pages/linux/lxc-info.md b/pages/linux/lxc-info.md new file mode 100644 index 0000000000..1753c5c856 --- /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}}` diff --git a/pages/linux/lxc-ls.md b/pages/linux/lxc-ls.md index 5a5ffc47eb..00c223d596 100644 --- a/pages/linux/lxc-ls.md +++ b/pages/linux/lxc-ls.md @@ -3,18 +3,22 @@ > List Linux containers. > More information: . +- List all containers: + +`sudo lxc-ls` + - List active containers (including frozen and running): -`lxc-ls --active` +`sudo lxc-ls --active` - List only frozen containers: -`lxc-ls --frozen` +`sudo lxc-ls --frozen` - List only stopped containers: -`lxc-ls --stopped` +`sudo lxc-ls --stopped` - List containers in a fancy, column-based output: -`lxc-ls --fancy` +`sudo lxc-ls --fancy` diff --git a/pages/linux/lxc-start.md b/pages/linux/lxc-start.md new file mode 100644 index 0000000000..e011b51b99 --- /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}}` diff --git a/pages/linux/lxc-stop.md b/pages/linux/lxc-stop.md new file mode 100644 index 0000000000..6ad82e5b92 --- /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 {{container_name}}`