gluster / gluster-containers

Dockerfiles (CentOS, Fedora, Red Hat) for GlusterFS
https://github.com/gluster/gluster-containers/pkgs/container/gluster-containers
223 stars 135 forks source link

Bring CentOS container up to date #182

Closed black-dragon74 closed 2 years ago

black-dragon74 commented 2 years ago

To run this use (taking your built image is tagged with name gc):

docker run -v /etc/glusterfs:/etc/glusterfs:z \
    -v /var/lib/glusterd:/var/lib/glusterd:z \
    -v /var/log/glusterfs:/var/log/glusterfs:z  \
    -v /dev/:/dev --net=host \
    -v /sys/fs/cgroup:/sys/fs/cgroup:rw \
    --privileged --cgroupns=host \
    --rm -it --name=gc gc

Regards

nixpanic commented 2 years ago

On Fri, Jul 08, 2022 at 05:51:20AM -0700, Niraj Kumar Yadav wrote:

@black-dragon74 commented on this pull request. ... All distros after 2020 use it as a default. All of the major container platforms have added support for it.

However, one can still manually enable old cgroup version. I'll address this in a separate PR?

Ok, maybe do that if there is a demand for it. Ideally users run on recent OS's anyway.