Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build local docker images (Windows) #1677

Open
ebalo55 opened this issue Jan 2, 2025 · 0 comments
Open

Cannot build local docker images (Windows) #1677

ebalo55 opened this issue Jan 2, 2025 · 0 comments

Comments

@ebalo55
Copy link

ebalo55 commented Jan 2, 2025

Hello everyone, just a few info before digging in the issue:

  • OS: Windows 11 (tried with VM on W10 too)
  • Docker: installed docker desktop with elevated service, working with composer and other plugins, no issue with anything docker-related (latest version)
  • Encore: version 1.45.2, latest at the time of writing
  • Project: hello world template (Typescript), no customization

The issue resides in the encore build docker something:tag run via the windows terminal (cmd or powershell makes no difference).
The following picture shows the output of running the above command.
image

Without changing anything the same issue does not exists running the same command from a debian wsl (docker proxied to the host system), the following pic shows the correct result.
image

Some extra info:

  • The node:slim image gets downloaded as it's present in the docker images
  • Running the command as encore build docker something:third-test --verbose 5 --trace ./trace.log results in the parsing error of the arguments, so no generation takes place and traces cannot be generated (placing args before the image_tag or the commands results in the same error (the shell used makes no difference in this case)
  • Running the command as encore build docker something:third-test -v --trace trace.log in the debian WSL does not produce any trace.log file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant