Open polkx opened 1 month ago
If I execute the command scala-cli --power package --docker HelloDocker.scala --docker-image-repository hello-docker
on the Ubuntu 24 (WSL) environment then the created image works on both environments (WSL and Windows) (command docker run hello-docker:latest
).
Version(s) scala-cli 1.5.1 scala 3.5.1 Docker-desktop 4.34.3 Windows 11
Describe the bug I tried to run this example on Windows. When I run the command
scala-cli --power package --docker HelloDocker.scala --docker-image-repository hello-docker
everything works but when I want to run the image (docker run hello-docker:latest
) I get the error:I don't know if this is a problem with my computer or a problem with running it on Windows. I'll add, that it works fine on Mac OS.
Could someone check if it works on Windows and why I get this error?