Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose up 报错 #605

Open
nanfeng opened this issue Sep 28, 2024 · 3 comments
Open

docker-compose up 报错 #605

nanfeng opened this issue Sep 28, 2024 · 3 comments

Comments

@nanfeng
Copy link

nanfeng commented Sep 28, 2024

mac
intel
能否给个可用 的镜像
报错

➜  dnmp git:(master) docker-compose up
WARN[0000] /Users/qianxin/work/dnmp/docker-compose.yml: `version` is obsolete
[+] Building 38.4s (6/6) FINISHED                                                                                                                                                      docker:desktop-linux
 => [php56 internal] load build definition from Dockerfile                                                                                                                                             0.0s
 => => transferring dockerfile: 1.19kB                                                                                                                                                                 0.0s
 => [nginx internal] load build definition from Dockerfile                                                                                                                                             0.0s
 => => transferring dockerfile: 507B                                                                                                                                                                   0.0s
 => ERROR [php56 internal] load metadata for docker.io/library/php:5.6.40-fpm-alpine                                                                                                                  38.4s
 => ERROR [nginx internal] load metadata for docker.io/library/nginx:1.19.1-alpine                                                                                                                    38.3s
 => [nginx auth] library/nginx:pull token for registry-1.docker.io                                                                                                                                     0.0s
 => [php56 auth] library/php:pull token for registry-1.docker.io                                                                                                                                       0.0s
------
 > [php56 internal] load metadata for docker.io/library/php:5.6.40-fpm-alpine:
------
------
 > [nginx internal] load metadata for docker.io/library/nginx:1.19.1-alpine:
------
failed to solve: nginx:1.19.1-alpine: failed to resolve source metadata for docker.io/library/nginx:1.19.1-alpine: unexpected status from HEAD request to https://9kt9f6mz.mirror.aliyuncs.com/v2/library/nginx/manifests/1.19.1-alpine?ns=docker.io: 403 Forbidden
@rymuscle
Copy link

rymuscle commented Oct 3, 2024

mac apple m1 报错

➜  dnmp git:(master) docker-compose up
WARN[0000] the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Running 1/2
 ⠸ mysql5 Pulling                                                                                                                                          13.3s
 ✘ mysql Error    context canceled                                                                                                                         13.3s
no matching manifest for linux/arm64/v8 in the manifest list entries

@GadouLee
Copy link

GadouLee commented Oct 4, 2024

mac apple m1 报错

➜  dnmp git:(master) docker-compose up
WARN[0000] the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Running 1/2
 ⠸ mysql5 Pulling                                                                                                                                          13.3s
 ✘ mysql Error    context canceled                                                                                                                         13.3s
no matching manifest for linux/arm64/v8 in the manifest list entries

mysql:
platform: linux/amd64

@jingmian
Copy link
Collaborator

jingmian commented Oct 7, 2024

因为官方mysql 5.7版本不支持arm平台,可以先暂时使用bitnami/mysql:5.7.43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants