‘lxc console’ is supposed to allow a user to attach to the container console.
But what if I have virtual consoles? With lxc-console, you could specify ttys: lxc-console -nname [ -eescape character ] [ -tttynum ]
$ lxc console --help
Description:
Attach to container consoles
This command allows you to interact with the boot console of a container
as well as retrieve past log entries from it.
Usage:
lxc console [:] [flags]
Flags:
–show-log Retrieve the container’s console log
Global Flags:
–debug Show all debug messages
–force-local Force using the local unix socket
-h, --help Print help
-v, --verbose Show all information messages
–version Print version number