[Gluster-users] Gluster FS in a docker container

Laurent Le Van
Wed, 27 Jan 2016 16:01:27 -0000

Hi,

Thank you for your answer !
I have tried running containers in privileges mode but it didn't work but
using in addition docker volumes in privileges mode worked well.

Thank you for your support.

Regards,
Laurent

2016-01-27 6:06 GMT+01:00 Kaushal M <kshlmster at gmail.com>:

> On Wed, Jan 27, 2016 at 5:15 AM, Vijay Bellur <vbellur at redhat.com>
wrote:
> > On 01/25/2016 11:10 AM, Laurent Le Van wrote:
> >>
> >> Hello everyone,
> >>
> >> I'm trying to use GlusterFS in a Docker Container but volume
creation
> >> doesn't work.
> >> I'm facing the "Setting extended attributes
failed".I saw in several
> >> forum that the aufs file system use by default is the problem and
an
> >> alternative is to use btrfs. But because I want to use it for a in
> >> "production use" purpose, isn't there another
solution ? I heard btrfs
> >> is not safe for production at the moment.  And all the post forum
i saw
> >> is a few years old now (2014-2013) .
> >>
> >> Any suggestion ?
> >
> >
> > Have you tried running the containers in privileged mode?
>
> In addition to this use docker volumes for the brick. Docker volumes
> are bind mounts from the host to the container path, so there
> shouldn't be any problems with the fs (if using a proper FS on the
> host).
>
> >
> > Regards,
> > Vijay
> >
> >
> > _______________________________________________
> > Gluster-users mailing list
> > Gluster-users at gluster.org
> > http://www.gluster.org/mailman/listinfo/gluster-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.gluster.org/pipermail/gluster-users/attachments/20160127/6defa682/attachment.html>