Is it possible to attach remote storage to local container?
regards
Is it possible to attach remote storage to local container?
regards
Yes you can attach ceph/cephfs volumes to a container directly, take a look at the
E.g.
lxc config device add <instance> ceph-rbd1 disk source=ceph:<my_pool>/<my-volume> ceph.user_name=<username> ceph.cluster_name=<username> path=/ceph
See https://linuxcontainers.org/lxd/docs/master/instances#type-disk
Also if you can mount the remote storage on the host then you can share it into the container as if it were a local directory.