Last active
June 14, 2025 22:27
-
-
Save Chuckame/69eaf277e4308a198853ea2066b9ac57 to your computer and use it in GitHub Desktop.
Unraid: mount share in LXC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this line in your container that needs to mount a share. | |
# The target path will be relative to the root of the container. | |
# Note the missing slash '/' in the target path. In the example, the mount point will be at /<target path> | |
# Without 'create=dir', the container won't be able to start as the /<target path> have to exist to mount properly | |
lxc.mount.entry = /mnt/user/<the share name> <target path> none bind,create=dir 0 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment