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

Bug: Cannot start docker on a recent Mac #21

Open
fire opened this issue Nov 11, 2023 · 0 comments
Open

Bug: Cannot start docker on a recent Mac #21

fire opened this issue Nov 11, 2023 · 0 comments

Comments

@fire
Copy link

fire commented Nov 11, 2023

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
@fire fire changed the title Bug: Cannot launcher on a recent Mac Bug: Cannot start docker on a recent Mac Nov 11, 2023
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

1 participant