calcom / docker

The Docker configuration for Cal.com is an effort powered by people within the community. Cal.com, Inc. does not provide official support for Docker, but we will accept fixes and documentation. Use at your own risk.
MIT License
662 stars 344 forks source link

can't start container due to exec format error #244

Closed mokkin closed 1 year ago

mokkin commented 1 year ago

I tried to setup cal.com via docker, but unfortunately it doesn't come up:

docker compose up
[+] Building 0.0s (0/0)                                                                                                                                                                                    
[+] Running 5/1
 ✔ Container database                                                                                                                                    Recreated                                    0.2s 
 ✔ Container docker_studio_1                                                                                                                             Recreated                                    0.0s 
 ✔ Container docker_calcom_1                                                                                                                             Recreated                                    0.0s 
 ! calcom 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 
 ! studio 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 
Attaching to database, docker-calcom-1, docker-studio-1
database         | 
database         | PostgreSQL Database directory appears to contain a database; Skipping initialization
database         | 
database         | 2023-05-26 22:10:02.057 UTC [1] LOG:  starting PostgreSQL 15.3 (Debian 15.3-1.pgdg110+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
database         | 2023-05-26 22:10:02.057 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
database         | 2023-05-26 22:10:02.057 UTC [1] LOG:  listening on IPv6 address "::", port 5432
database         | 2023-05-26 22:10:02.062 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
database         | 2023-05-26 22:10:02.072 UTC [29] LOG:  database system was shut down at 2023-05-26 22:10:01 UTC
database         | 2023-05-26 22:10:02.084 UTC [1] LOG:  database system is ready to accept connections
docker-studio-1  | exec /usr/local/bin/docker-entrypoint.sh: exec format error
docker-calcom-1  | exec /usr/local/bin/docker-entrypoint.sh: exec format error
docker-studio-1 exited with code 0
docker-calcom-1 exited with code 0
docker-studio-1 exited with code 1

Do you have any hints?

mokkin commented 1 year ago

Oh, there is it: ARM seems to be not supported...

krumware commented 1 year ago

@mokkin Can you please try calcom/docker:canary and let me know if it works for you?