commands.sh

lxc-attach

linux

Attach to a container.

More info →

Options (1)

--helpboolean

Display help

Example: lxc-attach {{[-?|--help]}}

Examples (3)

Attach to a container

sudo lxc-attach container_name

Attach to a container without passing host environment variables to it

sudo lxc-attach container_name --clear-env

Display help

lxc-attach [-?|--help]
made by @shridhargupta | data from tldr-pages