Hello, I was setting up Docker for windows and I h...
# sky130
h
Hello, I was setting up Docker for windows and I had the shown errors
a
You need to run "Docker Desktop" first.
h
I've already opened it, does running it mean something else?
a
Now re-run the same command
h
Same problem
c
I would recommend using the windows subsystem for Linux, rather than run directly from Windows. In which case you will also need to enable WSL in docker
g
Btw. you are using the commands for Linux (export for example only exists in Bash, what you are looking for is SET). Also, I'd like to recommend our enhanced Docker-Container: https://github.com/hpretl/iic-osic-tools In this repo, start scripts are included, also for Windows! And for your Docker issue and as already suggested: https://docs.microsoft.com/en-us/windows/wsl/install Install and enable WSL2 (note, there is a big difference between WSL2 and WSL1), then Docker should work fine!
u
On Windows, I do recommend the HyperV backend rather than WSL2.
g
Really, why? Docker itself recommends WSL2 because of it's performance and general convenience.
u
There are certain features which are only available when HyperV is used. E.g. limiting the memory (RAM) allocation.
g
You mean on a per-Container basis or for the whole "Docker-VM" in general? Because you can also limit the WSL memory allocation in a config file.
u
I mean per-container. I know that Microsoft is improving WSL2 so they can replace Docker Desktop, but the solution is not there yet.