Port is already allocated error while port is free

it’s my minio container

  minio:
    container_name: minio-service
    image: bitnami/minio:2023.11.20
    env_file:
      - .env
    volumes:
      - ./storage/minio:/bitnami/minio/data
    ports:
      - "9001:9001"
    networks:
      - default

after running docker compose up, I get this error:

Error response from daemon: driver failed programming external connectivity on endpoint teratech-minio (8e21a107ef74eeb769aa2a75122c24dd95160037c09b5595128f3f315462aaa5): Bind for 0.0.0.0:9001 failed: port is already allocated

but the port is free and when I run minio on local, it’s running on port 9001 without issue

and the error is same when I set port to any container

I found the problem
I have install docker engin and docker desktop on my os
and container was running in both :expressionless: