Proxmox: bind mountpoint from host to unprivileged LXC container :: It's Embedded!
itsembedded.com·5d
🗂️Virtual Filesystems
Preview
Report Post

Proxmox www.itsembedded.com

Introduction

Bind mounting refers to a type of mounting in Unix/Linux/Posix systems where a directory is mounted on top of another directory. This is accomplished by using the mount command with the --bind parameter, for example:

mkdir ~/new_documents
mount --bind ~/Documents /new_documents

When using LXC containers for virtualization, the guest system runs on the same kernel as the host system, meaning we can bind-mount directories from the host to a guest container. Mounting a host directory to a path inside a guest container is a great way to:

  • Share data between multiple containers
  • Share data between th…

Similar Posts

Loading similar posts...