If anyone is trying to follow this official Ubuntu tutorial on how to run Linux containers on Windows than in:
Step 6. you need to use full path where you stored your docker.exe
and dockerd.exe
files and also you need to use --experimental
flag after you activate experimental in Docker Desktop for Windows.See this answer on how to do it.
D:\linuxDocker\
is place where I stored docker.exe
and dockerd.exe
D:\linuxDocker\dockerd.exe -D --experimental --data-root C:\lcow
# Starting daemon (keep this window open, your docker daemon needs be in running state before you can proceed on step 2.)
After that go and run :
D:\linuxDocker\docker.exe pull ubuntu
You also have to keep your Docker Desktop running while performing that.
I also had problems with Docker being slow - resolved by starting Docker with admin privileges (right click "Run as administrator") and than under Advanced gave Docker more CPU, Memory, Swap and Disk.
Follow steps before as they are in tutorial.