Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
lxc.mount.entry = /opt/lxc/shared-for/lxc/my-container/movies /opt/mount-host/movies none bind.rw 0.0 

Not sure if the order matters, but I usually place under the lxc.mount entry. The bind.rw is a reference to read and write which you may adjust accordingly for example bind.ro would be read only.

I believe multiple containers may use the same host folder but you might start confusing yourself so suggest using your directory structure to keep track.

Moving Container to New Host

...