Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-16 00:20:08 +00:00
parent 367b1e4cb2
commit 07c7ca9e90
25 changed files with 227 additions and 85 deletions

View File

@@ -8,6 +8,18 @@ source: https://github.com/tldr-pages/tldr.git
> Start a container.
> More information: <https://linuxcontainers.org/lxc/getting-started/>.
- Start the lxc service:
`systemctl start lxc-net`
- Start a container:
`sudo lxc-start {{container_name}}`
- Start a container in the foreground:
`sudo lxc-start {{container_name}} {{[-F|--foreground]]}`
- Exit out of a foreground container (run this in a separate terminal):
`sudo lxc-stop {{container_name}}`