by default, lxc container comes with default logical volume from the host but in this case, I want to create the additional logical volume into my lxc container.

  • while there are mount namespaces, there are no device namespaces. So to prevent the container to affect the host, many device operations are forbidden. TL;DR I don't think you can without risking the container to affect the host. – A.B Feb 27 at 10:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.