Start command is not work!
The start (long) command does not work on Windows:
C:\Users\user>--name lemon-app `
"--name" is not recognized as an internal or external command, operable program or batch file.
C:\Users\user>--env DOCKER_HOST_ADDR=host.docker.internal `
"--env" is not recognized as an internal or external command, operable program or batch file.
C:\Users\user>--env ACTUAL_HOST_WORKSPACE_PATH=${env:WORKSPACE_BASE} `
"--env" is not recognized as an internal or external command, operable program or batch file.
C:\Users\user>--publish 5005:5005 `
"--publish" is not recognized as an internal or external command, operable program or batch file.
C:\Users\user>--add-host host.docker.internal:host-gateway `
"--add-host" is not recognized as an internal or external command, operable program or batch file.
C:\Users\user>--volume //var/run/docker.sock:/var/run/docker.sock `
"--volume" is not recognized as an internal or external command, operable program or batch file.
C:\Users\user>--volume ${env:USERPROFILE}.cache:/.cache `
"--volume" is not recognized as an internal or external command, operable program or batch file.
C:\Users\user>--volume ${env:WORKSPACE_BASE:-${PWD}}\workspace:/workspace `
"--volume" is not recognized as an internal or external command, operable program or batch file.
C:\Users\user>--volume ${env:WORKSPACE_BASE:-${PWD}}\data:/app/data `
"--volume" is not recognized as an internal or external command, operable program or batch file.
C:\Users\user>--interactive `
"--interactive" is not recognized as an internal or external command, operable program or batch file.
C:\Users\user>--tty `
"--tty" is not recognized as an internal or external command, operable program or batch file.
C:\Users\user>hexdolemonai/lemon:latest make run
"hexdolemonai" is not recognized as an internal or external command, operable program or batch file.
It also doesn't work if you try to redo it for windows by replacing it with ^
C:\Users\user>docker run -it --rm --pull=always --name lemon-app --env DOCKER_HOST_ADDR=host.docker.internal --env ACTUAL_HOST_WORKSPACE_PATH= --publish 5005:5005 --add-host host.docker.internal:host-gateway --volume //var/run/docker.sock:/var/run/docker.sock --volume C:\Users\user\.cache:/.cache --volume \workspace:/workspace --volume \data:/app/data hexdolemonai/lemon:latest make run
latest: Pulling from hexdolemonai/lemon
Digest: sha256:a2efbba52dbf2934e047975c4a0ec172cab103f0f203d98c32b56057bd3a5486
Status: Image is up to date for hexdolemonai/lemon:latest
docker: Error response from daemon: \workspace%!(EXTRA string=is not a valid Windows path)
When will there be a normal command to run? And even better, a ready-made image for Docker! It's impossible to use it!
Hello, thank you for the detailed error logs and for bringing the Windows execution issue to our attention! We understand your frustration—this is a common challenge when running Linux-centric commands on Windows.
🛠️ Cause of the Errors The core issue stems from two factors:
Command Syntax: The backtick symbol (`) at the end of the lines is a line continuation character used in PowerShell/Bash, but it is interpreted incorrectly by the standard Windows Command Prompt (CMD), leading to the initial errors like "--name" is not recognized...
Pathing and WSL: When you tried rewriting the command, the error \workspace%!(EXTRA string=is not a valid Windows path) occurred because Docker on Windows has specific requirements for volume mounts, especially concerning absolute paths and the mixed Linux/Windows path format when running natively.
âś… Recommended Solution: Use WSL2 For the best compatibility and the most straightforward experience with the Docker commands provided, we strongly recommend executing the commands within a Linux environment using WSL2 (Windows Subsystem for Linux 2). This is the standard way to run complex Linux Docker commands on Windows without syntax errors.
You can find the detailed instructions for this setup in our documentation:
Detailed Windows Docker Deployment Tutorial (Recommended): https://lemon-11.gitbook.io/lemonai/development-deployment-guidelines/docker-quick-deployment/windows-docker-deployment-tutorial/docker-windows-command-deployment-documentation
Please note: This information is also summarized in the README as mentioned.
📦 Docker Image Availability To address your request for a ready-made Docker image:
Our official Docker image is available on Docker Hub under the following organization: https://hub.docker.com/u/hexdolemonai
We appreciate your patience. Following the WSL2 deployment guide should resolve these immediate execution issues!