1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-03 22:15:42 +02:00

lxc-console: add page (#15922)

This commit is contained in:
Managor 2025-03-15 22:29:32 +02:00 committed by GitHub
parent 0897084ebb
commit ed7e2c0446
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,16 @@
# lxc-console
> Attach to a container.
> More information: <https://linuxcontainers.org/lxc/manpages//man1/lxc-console.1.html>.
- Start a console in a container:
`agetty {{[-L|--local-line]}} {{38400}} tty1`
- Connect to an lxc console:
`sudo lxc-console {{container_name}}`
- Exit `lxc-console`:
`<Ctrl a><q>`