Free Hosting Online for WorkStations

< Previous | Contents | Next >

will wait until container cont1 enters state STOPPED or state FROZEN and then exit. 6.14.3. Attach

As of Ubuntu 14.04, it is possible to attach to a container's namespaces. The simplest case is to simply do


sudo lxc-attach -n C1


which will start a shell attached to C1's namespaces, or, effectively inside the container. The attach functionality is very flexible, allowing attaching to a subset of the container's namespaces and security context. See the manual page for more information.


Top OS Cloud Computing at OnWorks: