Gluster Centos Docker Image
基于CentOS 7的GlusterFS 7.0.1镜像,支持配置虚拟磁盘(fake disk),便于测试GlusterFS功能,无需额外块设备。
This dockerfile can be used to build a CentOS Gluster Container.
Support for fake disks
This container offers several configuration options that make it easier to test
the functionality. It is possible to configure a fake disk so that there is no
requirement for additional block devices on the container host. The container
has a gluster-fake-disk service that consumes the following environment
variables:
-
USE_FAKE_DISK(default is empty) when set to a non-empty value, setup a fake disk. The other environment variables have defaults and do not need to be set. -
FAKE_DISK_FILE(defaults to/srv/fake-disk.img) the fake disk will be backed by this file. To have persistent storage, make sure to have the directory where this file is located bind-mounted as a volume in the container. -
FAKE_DISK_SIZE(defaults to10G) sets the size of theFAKE_DISK_FILEthroughtruncatein case the file does not exist. -
FAKE_DISK_DEV(defaults to/dev/fake) the device node under/devthat should be provided for the disk. This will be a symlink to the/dev/loop<N>loopback device.
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
轩辕镜像加速拉取命令点我查看更多 gluster-centos 镜像标签
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务