Identifying the network namespace of an lxc container

131 Views Asked by At

I would like to know the mechanism to identify the network namespace of an LXC container. Basically I am looking for a mechanism to move the interface from the network namespace of an LXC back to the main namespace whenever an LXC crashes. For this, I need the network namespace of the lxc to start with.

0

There are 0 best solutions below