The software described in this documentation is either in Extended Support or Sustaining Support. See for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.

8.6 Starting a Command Inside a Running Container


The lxc-attach command is supported by UEK R3 with the lxc-0.9.0-2.0.4 package or later.

You can use lxc-attach to execute an arbitrary command inside a container that is already running from outside the container, for example:

[root@host ~]# lxc-attach -n ol6ctr1 -- ps aux

For more information, see the lxc-attach(1) manual page.