[英]Access CephFS inside Docker container without mounting CephFS on the host
I have a test node running Ceph where about 10TB of data are stored in a CephFS filesystem.我有一个运行 Ceph 的测试节点,其中大约 10TB 的数据存储在 CephFS 文件系统中。 I want to make certain subpaths in the CephFS file available to a Docker container where it can be shared over NFS and SMB.
我想让 CephFS 文件中的某些子路径可用于 Docker 容器,在那里它可以通过 NFS 和 SMB 共享。
The osds, mons and mds' are running on the same node which inhibits mounting CephFS in fstab. osds、mons 和 mds' 在同一节点上运行,这会阻止在 fstab 中安装 CephFS。
How else can I mount subpaths of the CephFS filesystem into the container(s)?我还能如何将 CephFS 文件系统的子路径挂载到容器中?
我认为为 cephfs 使用这个 docker volume 插件可以解决你的问题: https ://gitlab.com/n0r1sk/docker-volume-cephfs
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.