I try to upgrade minio version in my docker commpose(previously I used image: minio/minio:RELEASE.2020-06-22T03-12-50Z
and it was working
)
For now I have following docker-compose service:
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
When I try to start(docker-compose up -d
) I see the following error in the minio container log:
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
I've googled the following article https://min.io/docs/minio/linux/operations/install-deploy-manage/migrate-fs-gateway.html
But I still don't understand what shoud I change in my compose file to make it working.