Bug: Cannot start docker on a recent Mac

Aperta
#21 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
docker, docker-compose, macos, zsh

Direzione di ricerca

Riprodurre docker compose up -d su macOS Sonoma con un M2 Mac Mini e Rancher Desktop. Ispezionare la configurazione di Docker Compose relativa a /etc/localtime e alla mancata corrispondenza della piattaforma dell’immagine segnalata. L’attività è completata quando lo stack si avvia senza l’errore di mount del container.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
PowerShell
Stelle
60
Fork
51
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ynput/ayon-docker

Tutte le issue di ynput/ayon-docker

Issue simili

Altre issue su DevOps

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.