ynput / ynput/ayon-docker

Bug: Cannot start docker on a recent Mac

Open
#21 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
60
Forks
50
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce docker compose up -d on macOS Sonoma with an M2 Mac Mini and Rancher Desktop. Inspect the Docker Compose configuration related to /etc/localtime and the reported image-platform mismatch. Done means the stack starts without the container mount error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose, macos, zsh
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.