Symptom: [FAIL] No supported container backend found on win32.
Fixes:
- Install Podman for Windows and run
podman machine init && podman machine start. - Or install Docker Desktop and ensure the Docker engine is running.
- Run
west env doctoragain — it will show what was probed and why it was skipped.
Symptom: [WARN] Docker Desktop (WSL2 bind mount) detected. Build performance on C:\ paths may be poor.
Fix: Install Podman for Windows and enable Hyper-V:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
winget install RedHat.Podman
podman machine init --nowThen run west env doctor — it should select podman-machine-hyperv.
Symptom: docker: command not found or podman: command not found
Fix: Ensure the container engine binary is on PATH. Verify with west env doctor.
Symptom: [SKIP] podman-machine-hyperv: No running Podman machine — run: podman machine start
Fix:
podman machine start
west env doctor # should now show [PASS] backend selected: podman-machine-hypervSymptom: git clone inside the container fails with Permission denied (publickey).
Fix: Ensure SSH agent is running and your key is loaded:
# Windows
Start-Service ssh-agent
ssh-add ~/.ssh/id_ed25519
west env doctor # should show [PASS] git credentials: openssh-agentOn Linux/macOS:
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519If SSH is not an option, configure HTTPS with a credential manager:
git config --global credential.helper manager # GCMSee git-credentials.md for more.
Symptom: [WARN] J-Link host tools not found in PATH or standard locations
Fix: Install SEGGER J-Link from https://www.segger.com/downloads/jlink/
and ensure JLinkExe (Linux/macOS) or JLink.exe (Windows) is on PATH.
Default search paths:
- Windows:
C:\Program Files\SEGGER\JLink\ - Linux:
/opt/SEGGER/JLink/ - macOS:
/Applications/SEGGER/JLink/
Symptom: VSCode task west-env: build errors with west-env-build.ps1: command not found.
Fix: Run west env generate-tasks first to generate the wrapper scripts, then reload VSCode.
Symptom: A source file is not appearing in the container workspace.
Fix: Check and override the exclusion list in west-env.yml:
sync:
exclude:
- build
- .cache
# remove or add patterns as neededSymptom: .elf/.hex files are not copied back.
Cause: sync --back only copies files with extensions: .elf, .bin, .hex, .map, .lst, .s19.
Fix: Confirm your build produced output files inside /work/build/ in the container. Run west env shell and check ls /work/build/zephyr/.
Symptom: Builds are much slower than expected on macOS.
Fix: Switch to workspace_mode: sync which uses a named volume inside the Podman/Docker machine, avoiding VirtioFS overhead:
env:
workspace_mode: syncThen run west env sync before each build.
Symptom: docker: Error response from daemon: manifest unknown
Fix: Ensure the image name and tag in west-env.yml are correct and that you are authenticated to the registry:
docker login ghcr.ioor
podman login ghcr.io