Docker installation fails on OSX

Trying to install Appsmith in a Docker container on OSX but the installation stops at this point:

$ docker-compose up
[+] Running 1/0
 ⠿ Container appsmith  Created                                             0.0s
Attaching to appsmith
appsmith  | Initialize .env file
appsmith  | Load environment configuration
appsmith  | Checking environment configuration
appsmith  | Checking APPSMITH_MONGODB_URI
appsmith  | Detected local MongoDB
appsmith  | Initializing local database
appsmith  | '/appsmith-stacks/data/mongodb/key' -> '/mongodb-key'
appsmith  | Checking initialized database
appsmith  | Initializing Replica Set for local database

It works well on my Linux machine, but not on OSX using Docker version 20.10.22

Does anyone know what is causing this?

Can you please share the OS version, docker version, docker-compose version and the docker-compose.yml file.

Docker Compose version v2.15.1
Docker Desktop version 4.16.1
Docker Engine version 20.10.22
macOS Monterey version 12.6.2

Thanks in advance!

Can you also share your docker-compose.yml file?

Also, please send us the output of the following command to get more info about your CPU:
sysctl -a | grep machdep.cpu

The docker-compose.yml file has minimal changes from the stock version:

$ cat docker-compose.yml 
version: "3"

services:
  appsmith:
    image: index.docker.io/appsmith/appsmith-ce
    container_name: appsmith
    ports:
      - "8080:80"
      - "8443:443"
      - "9001:9001"
    volumes:
      - ./stacks:/appsmith-stacks
    restart: unless-stopped
    # Uncomment the lines below to enable auto-update
    #labels:
    #  com.centurylinklabs.watchtower.enable: "true"

  #auto_update:
  #  image: containrrr/watchtower:latest-dev
  #  volumes:
  #    - /var/run/docker.sock:/var/run/docker.sock
  #  # Update check interval in seconds.
  #  command: --schedule "0 0 * ? * *" --label-enable --cleanup
  #  restart: unless-stopped
  #  depends_on:
  #    - appsmith
  #  environment:
  #    - WATCHTOWER_LIFECYCLE_HOOKS=true

The sysctl command yields this:

$ sysctl -a | grep machdep.cpu
machdep.cpu.cores_per_package: 8
machdep.cpu.core_count: 8
machdep.cpu.logical_per_package: 8
machdep.cpu.thread_count: 8
machdep.cpu.brand_string: Apple M1 Pro