如何将Arvados保险丝作为卷装入Docker容器

如何将Arvados保险丝作为卷装入Docker容器,docker,fuse,arvados,Docker,Fuse,Arvados,我想将的文件系统视图添加到Docker容器中。我使用arv mount创建了这个文件系统视图,它基于用户空间中的文件系统(FUSE) 方法1 $ docker run --rm -it -v /home/test/arv:/opt ubuntu:hirsute bash docker: Error response from daemon: error while creating mount source path '/home/test/arv': mkdir /home/test/arv:

我想将的文件系统视图添加到Docker容器中。我使用
arv mount
创建了这个文件系统视图,它基于用户空间中的文件系统(FUSE)

方法1

$ docker run --rm -it -v /home/test/arv:/opt ubuntu:hirsute bash
docker: Error response from daemon: error while creating mount source path '/home/test/arv': mkdir /home/test/arv: file exists.
方法2
我也试过了

这两种方法我都是以非root用户(我为Docker配置)和root用户的身份尝试的。

我通过

  • user\u allow\u other
    添加到
    /etc/fuse.conf
  • 使用
    arv安装创建保险丝安装--允许其他/主/测试/arv
  • $ docker run --rm -it --mount type=bind,source=/home/test/arv,target=/opt,bind-propagation=rshared ubuntu:hirsute bash
    docker: Error response from daemon: invalid mount config for type "bind": stat /home/test/arv: permission denied.