Issues with local Atlas on MacOS 14

hey there, sorry for intruding I’m not on mac os but this is the closest thread I found to what I’m facing.
I’m having the same issue on my Ubuntu 22.04 LTS Jammy Jellyfish server,
here the docker compose:

services:
  mongo:
    image: mongodb/atlas
    privileged: true
    entrypoint: '/home/scripts/entrypoint.sh'
    tty: true
    volumes:
      - ./atlas:/home/scripts
    ports:
      - 27017:27017
    env_file:
      - .env

and the entrypoint.sh inside the atlas folder:

#!/usr/bin/env bash

DEPLOYMENT_INFO=$(atlas deployments list | grep '$ATLAS_DEPLOYEMENT_NAME')

if [[ $DEPLOYMENT_INFO ]]; then
    # Restart a deployment
    atlas deployments start $ATLAS_DEPLOYEMENT_NAME
else
    # Create a new deployment
    atlas deployments setup $ATLAS_DEPLOYEMENT_NAME --type local --port 27778 --username $ATLAS_USERNAME --password $ATLAS_PASSWORD --bindIpAll --skipSampleData --force
fi

# Pause the deployment whenever this container is shutdown to avoid corruption.
function graceful_shutdown() {
    atlas deployments pause $ATLAS_DEPLOYEMENT_NAME
}
trap 'graceful_shutdown' EXIT

sleep infinity &
wait $!

current logs are:

[+] Running 1/0
 ⠿ Container architectural_components-mongo-1  Created                                                                                                                              0.0s
Attaching to architectural_components-mongo-1
architectural_components-mongo-1  | 
architectural_components-mongo-1  | To list both local and cloud Atlas deployments, authenticate to your Atlas account using the "atlas login" command.
architectural_components-mongo-1  | 
architectural_components-mongo-1  | [Default Settings]
architectural_components-mongo-1  | Deployment Name   centrodocumentazione3513035143458465
architectural_components-mongo-1  | MongoDB Version   7.0
architectural_components-mongo-1  | Port              27778
architectural_components-mongo-1  | 
architectural_components-mongo-1  | Creating your cluster %ATLAS_DEPLOYEMENT_NAME%
architectural_components-mongo-1  | 1/2: Starting your local environment...
2/2: Creating your deployment %ATLAS_DEPLOYEMENT_NAME%...
Error: context deadline exceeded