# lxc-console > Attach to a container. > More information: . - 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`: `` - Display help: `lxc-console {{[-?|--help]}}`