Better handle nested containers and libcontainer.