minio
makes extracting debug logs hard. This Dockerfile builds a minio server image that
will write debug logs. It is of course for debugging only.
To build,
docker build -t ariels/debug-minio .
Now run it and look at the logs :-)
FROM minio/mc:latest AS mc | |
FROM minio/minio:edge | |
COPY --from=mc /bin/mc /bin/ | |
ENTRYPOINT ["sh", "-c", "minio server /data & (sleep 1; until mc alias set root http://localhost:9000 ${MINIO_ROOT_USER:-minioadmin} ${MINIO_ROOT_PASSWORD:-minioadmin}; do sleep 1; done; mc admin trace root)"] |