可以在docker群中创buildglusterfs卷

我有一个docker群集群,我试图设置gluster在群集中运行。 我在所有工作人员身上安装了gluster,并尝试使用此命令创build一个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. 

我在网上发现,我需要设置特权为true,以便能够设置扩展属性。 但是我在这里发现这个特性在swarm中不被支持。 有没有这方面的工作?