Docker Compose fails to start backend service silently on Windows
Author: zhuaner0772-coderCreated Oct 7, 2025Updated Oct 7, 2025
Hello,
I have been trying to run Doccano using the official docker-compose file on Windows 11, but the backend service fails to start silently.
What I have tried:
- I have a fresh installation of Docker Desktop with WSL 2 backend, and
wsl --updatehas been run. docker run hello-worldworks perfectly.- Using the latest
docker-compose.prod.ymlfrom themainbranch. docker compose up -d postgresworks perfectly and the container starts.docker compose up -d redisworks perfectly and the container starts.- However,
docker compose up -d backendordocker compose up -d(to start all services) fails silently. It exits immediately after the ".env not found" warning, without pulling the image or creating the container. No errors are shown. - I have tried simplifying the
docker-compose.ymlby commenting out thecommandsection in thebackendservice, but the result is the same.
It seems there is an issue with the doccano/doccano image or its configuration that causes docker-compose to fail silently on my Windows machine. Any help would be appreciated.
Source: doccano/doccano