Skip to content

Apple M1: failed to load cache key: invalid empty config file resolved for docker.io/library/php:5.4-apache #12855

@dimablack

Description

@dimablack

Problem description

I want to run FROM php:5.4-apache on apple M1. I've run 'docker pull php:5.4-apache', but nothing changed.

docker compose up --build
[+] Building 2.0s (5/16)                                                                                                                                                                                                                
 => [internal] load build definition from Dockerfile                                                                                                                                                                               0.0s
 => => transferring dockerfile: 1.16kB                                                                                                                                                                                             0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                  0.0s
 => => transferring context: 2B                                                                                                                                                                                                    0.0s
 => [internal] load metadata for docker.io/library/php:5.4-apache                                                                                                                                                                  1.6s
 => ERROR [ 1/12] FROM docker.io/library/php:5.4-apache@sha256:298f2295509309262b0daaa27e15e3682437d0210128f66d482381255b907582                                                                                                    0.0s
 => => resolve docker.io/library/php:5.4-apache@sha256:298f2295509309262b0daaa27e15e3682437d0210128f66d482381255b907582                                                                                                            0.0s
 => [internal] load build context                                                                                                                                                                                                  0.0s
 => => transferring context: 61B                                                                                                                                                                                                   0.0s
------
 > [ 1/12] FROM docker.io/library/php:5.4-apache@sha256:298f2295509309262b0daaa27e15e3682437d0210128f66d482381255b907582:
------
failed to solve: rpc error: code = Unknown desc = failed to load cache key: invalid empty config file resolved for docker.io/library/php:5.4-apache@sha256:298f2295509309262b0daaa27e15e3682437d0210128f66d482381255b907582

Screenshot 2021-05-17 at 15 47 23

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions