FFFF docker-compose up 报错 · Issue #605 · garylab/dnmp · GitHub
[go: up one dir, main page]

Skip to content

docker-compose up 报错 #605

Open
Open

Description

@nanfeng

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

Activity

  1. rymuscle commented on Oct 3, 2024

    @rymuscle

    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
    
  2. GadouLee commented on Oct 4, 2024

    @GadouLee

    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

  3. jingmian commented on Oct 7, 2024

    @jingmian
    Collaborator

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

  4. taoyao-code commented on Dec 13, 2024

    @taoyao-code
    49BF

    在docker-compose 文件中的mysql镜像位置添加一行 platform: linux/x86_64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0