✘ mysql-setup-init-sql Error failed to resolve reference "docker.io/library/mysql:8.4.5"...
Init Error, docker compose --profile "*" up -d Then: Error response from daemon: failed to resolve reference "docker.io/library/mysql:8.4.5": failed to authorize: failed to fetch oauth token: Post "https://auth.docker.io/token": dialing auth.docker.io:443 container via direct connection because automatic system has no HTTPS proxy: connecting to auth.docker.io:443: dial tcp 50.87.93.246:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
我也碰到了这个问题
{"registry-mirrors": ["https://b4a1f63a156e435f9aeb797bdf515250.mirror.swr.myhuaweicloud.com"]}
我解决了,容易出问题的两个容器elasticsearch和redis,把前面的bitnami删除重新执行:
docker-compose up -d即可