MacOS: install from docker ERROR: mkdir /host_mnt/private/var/db/timezone/tz/2023d.1.0: operation not permitted
zhonghai2810 opened this issue · comments
System info: Sonama 14.3
When install bisheng from docker-compose up, the minio/minio image shows error when starting up:
(HTTP code 500) server error - error while creating mount source path '/host_mnt/private/var/db/timezone/tz/2023d.1.0/zoneinfo/Asia/Shanghai':
mkdir /host_mnt/private/var/db/timezone/tz/2023d.1.0: operation not permitted
Solution:
The /private/var/db/timezone/tz/2023d.1.0/ directory contains the timezone data files used by macOS. These files include specific information about different timezones, such as the dates for daylight saving time transitions, and the offset from UTC. This directory private/var/db/timezone/tz/ cannot be manually modified.
My solution is to change the minio image tag used in docker-compose.yml from
image: minio/minio:RELEASE.2023-03-20T20-16-18Z
to
image: minio/minio:RELEASE.2024-03-21T23-13-43Z-cpuv1
minio docker service started successfully.
thanks, we don't try it on MacOS. There may be work abnormal in some situation.