可以在docker swarm中创建glusterfs卷

可以在docker swarm中创建glusterfs卷,docker,glusterfs,swarm,Docker,Glusterfs,Swarm,我有一个docker swarm集群,我正在尝试设置gluster在swarm中运行。我在所有Worker上安装了gluster,并尝试使用以下命令创建gluster卷: #gluster volume create dist-rep-vol gluster1:/bricks/brick1/brick gluster2:/bricks/brick2/brick 但我得到了以下错误: volume create: dist-rep-vol: failed: Glusterfs is not su

我有一个docker swarm集群,我正在尝试设置gluster在swarm中运行。我在所有Worker上安装了gluster,并尝试使用以下命令创建gluster卷:

#gluster volume create dist-rep-vol gluster1:/bricks/brick1/brick gluster2:/bricks/brick2/brick
但我得到了以下错误:

volume create: dist-rep-vol: failed: Glusterfs is not supported on brick: gluster1:/bricks/brick1/brick.
Setting extended attributes failed, reason: Operation not permitted.
我在网上发现,为了能够设置扩展属性,我需要将privileged设置为true。但我发现swarm中不支持此功能。这有什么办法吗