Unable to Mount in LXC Container - Operation not Permitted #11
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue Description:
I encountered an issue while attempting to mount a system image in an LXC container created using lxc-helpers, which is integrated into forgejo/act. Below is the sequence of commands I used:
However, the last command resulted in the following error:
Issue Background:
I have been exploring solutions online but haven't found a definitive guide on configuring LXC, specifically when using lxc-helpers and forgejo/act, to allow the mounting operation. The goal is to understand how to properly configure LXC to enable successful mounting.
Request for Assistance:
I seek guidance on how to configure LXC, particularly when utilizing lxc-helpers and forgejo/act, to allow the mounting operation described above. Any insights, tips, or step-by-step instructions would be greatly appreciated. Additionally, if there are specific settings or configurations within lxc-helpers or forgejo/act that need adjustment to permit such operations, I would be grateful for the details.
Even though I get a different error, I confirm this is not working.
I created a fresh container
and then
Verified
/var/lib/lxc/mytest/config
has loop device capabilities.#13 will fix this. A workaround could be to manually add the /dev/loopN mounts to
/var/lib/lxc/mytest/config
.