Docker Image Won't Start on Windows – "unknown shorthand flag: 'f'" and "unknown command: docker compose" Errors #65
Replies: 3 comments 3 replies
|
Hi @haox5776-maker, sorry to hear about the problem, and happy you reached out. Going to ask a few question to try and remote debug the problem.
I sense it may be an issue with the Step 1: Then inside terminal run: Step 2: Please let us know if any of the above solves it or not. In any case, I will be releasing a new version tomorrow that have a much more robust approach for the desktop application, specifically for Windows. Ido |
|
Thanks for the update Hunter. So to clarify, you are able to launch the toolbox via the desktop application but not through the Best, |
|
Hi @haox5776-maker, Checkin in to see if issue has been solved. |

Uh oh!
There was an error while loading. Please reload this page.
Hello everyone,


I’m encountering an issue with Docker on Windows where I cannot start Docker images manually, despite having them available locally. I’d appreciate any guidance on how to resolve this.
Problem:
When I run the setup or initialization script (or try commands manually), I receive multiple errors in the CLI:
unknown shorthand flag: 'f' in -f – This appears when the script attempts to pull Docker images or start services.
docker: unknown command: docker compose – After waiting for services, it seems the docker composecommand is not recognized. This is followed by an error stating the simnibsservice is not running.
A typical error output looks like this:
Current project directory: /mnt/f/sourcedata/
Press Enter to use this directory or enter a new path:
Pulling required Docker images...
unknown shorthand flag: 'f' in -f
Usage: docker [OPTIONS] COMMAND [ARG...]
...
Starting services...
unknown shorthand flag: 'f' in -f
...
Waiting for services to initialize...
docker: unknown command: docker compose
Run 'docker --help' for more information
Error: simnibs service is not running. Please check your docker-compose.yml and container logs.
What I’ve checked/tried:
Docker Desktop is running, and images are listed locally.
I’ve confirmed Docker is installed and the daemon is accessible.
Basic dockercommands (like docker imagesor docker ps) work, but the specific docker composecommand fails.
All reactions