bounty将在2天后过期。回答此问题可获得+100声望奖励。gstackoverflow希望吸引更多人关注此问题。
我尝试升级迷你版本在我的docker commpose(以前我用image: minio/minio:RELEASE.2020-06-22T03-12-50Z
,它是工作)现在我有以下的docker合成服务:
version: '3.6'
services:
minio:
container_name: minio
image: minio/minio:RELEASE.2022-11-17T23-20-09Z.fips
volumes:
- minio-data:/data
ports:
- 9000:9000
environment:
- MINIO_ROOT_USER=minio
- MINIO_ROOT_PASSWORD=minio123
command: server /data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
当我尝试启动(docker-compose up -d
)时,我在minio容器日志中看到以下错误:
2022-11-25 11:40:56 ERROR Unable to use the drive /data: Drive /data: found backend type fs, expected xl or xl-single - to migrate to a supported backend visit https://min.io/docs/minio/linux/operations/install-deploy-manage/migrate-fs-gateway.html: Invalid arguments specified
我在谷歌上搜索了以下文章https://min.io/docs/minio/linux/operations/install-deploy-manage/migrate-fs-gateway.html
但是我仍然不明白我应该在我的合成文件中改变什么来使它工作。
1条答案
按热度按时间tct7dpnv1#
它不是解决方案,而是如何使用新版本的变通方法: