centos下docker方式安装minio错误Unable to write to the backend解决

时间:2024-04-10 16:53:37

系统版本:

Linux version 3.10.0-1062.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) 

运行命令:

docker run -p 9000:9000 --name minio1 -v /mnt/data:/data:z minio/minio server /data

错误:

ERROR Unable to initialize backend: Unable to write to the backend
      > Please ensure MinIO binary has write permissions for the backend
      HINT:
        Verify if MinIO binary is running as the same user who has write permissions for the backend

解决方法:

docker run -p 9000:9000 --name minio1 -v /mnt/data:/data:z minio/minio server /data

centos下docker方式安装minio错误Unable to write to the backend解决

参考地址:

https://github.com/minio/minio/issues/6237