Skip to content

Bug: Cannot start docker on a recent Mac #21

Open
@fire

Description

macOS Sonoma on a M2 Mac Mini with rancher desktop and Apple emulation.

ayon-docker % docker compose up -d
[+] Running 46/3
 ✔ server 24 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled     23.6s
 ✔ postgres 13 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled              24.4s
 ✔ redis 6 layers [⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                         18.0s
[+] Building 0.0s (0/0)                                  docker:rancher-desktop
[+] Running 6/4
 ✔ Network ayon-docker_default                                                                                                                           Created0.0s ntainer ayon-docker-redis-1     Cr...                                 0.1s
 ✔ Volume "ayon-docker_db"                                                                                                                               Created0.0s
 ✔ Container ayon-docker-redis-1                                                                                                                         Created0.2s
 ✔ Container ayon-docker-postgres-1                                             [+] Running 6/6                                                          Created ✔ Network ayon-docker_default                                                                                                                           Created0.0s                                                                     Created ✔ Volume "ayon-docker_db"                                                                                                                               Created0.0s st platform (linux/arm64/v8) and no specific platform was requested 0.0s
 ✔ Container ayon-docker-redis-1                                                                                                                         Created0.2s
 ✔ Container ayon-docker-postgres-1                                             [+] Running 6/6                                                          Created ✔ Network ayon-docker_default                                                                                                                           Created0.0s                                                                     Created ✔ Volume "ayon-docker_db"                                                                                                                               Created0.0s st platform (linux/arm64/v8) and no specific platform was requested 0.0s
 ✔ Container ayon-docker-redis-1                                                                                                                         Created0.2s
 ✔ Container ayon-docker-postgres-1                                             [+] Running 6/6                                                          Created ✔ Network ayon-docker_default                                                                                                                           Created0.0s                                                                     Created ✔ Volume "ayon-docker_db"                                                                                                                               Created0.0s st platform (linux/arm64/v8) and no specific platform was requested 0.0s
 ✔ Container ayon-docker-redis-1                                                                                                                         Created0.2s
 ✔ Container ayon-docker-postgres-1                                             [+] Running 6/6                                                          Created ✔ Network ayon-docker_default                                                                                                                           Created0.0s                                                                     Created ✔ Volume "ayon-docker_db"                                                                                                                               Created0.0s st platform (linux/arm64/v8) and no specific platform was requested 0.0s
 ✔ Container ayon-docker-redis-1                                                                                                                         Started0.2s
 ✔ Container ayon-docker-postgres-1                                                                                                                      Created0.2s
 ✔ Container ayon-docker-server-1                                                                                                                        Created0.0s
 ! server The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s
Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/etc/localtime" to rootfs at "/etc/localtime": mount /etc/localtime:/etc/localtime (via /proc/self/fd/6), flags: 0x5001: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions