Hi everybody. I use spryker on Docker Desktop (Win...
# docker
m
Hi everybody. I use spryker on Docker Desktop (Windows 10 with WLS Ubuntu) and have a weird problem. After I restart my Windows docker/sdk start doesn't work anymore. There's a problem while starting "ssh_relay" container. Does anyone has this error, too? ERROR: for cli_ssh_relay Cannot start service cli_ssh_relay: OCI runtime create failed: container_linux.go380 starting container process caused: process_linux.go545 container init caused: rootfs_linux.go76 mounting "/run/desktop/mnt/host/wsl/docker-desktop-bind-mounts/Ubuntu/a38932f141186bb5275677db539fb7565450b941be00e0f823c4cf47055af32c" to rootfs at "/tmp/ssh-relay/input-ssh-auth.sock" caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type ERROR: Encountered errors while bringing up the project.
b
Hi, are you running the commands from windows-cmd or inside the wsl-machine?
m
I am inside wsl.
b
and the source-files are also inside the machine? to be honest, i never got this error. So let's see, if we can eliminate some potential problems 🙂
m
Thanks for your help! Yes, all files are inside wsl. It only works for the first time. After windows restart it doesn't work anymore. When I try to start container by docker desktop itself, I got the same error.
b
? do you shut them down, before restarting windows? (docker/sdk stop)
m
Yes. docker/sdk stop -> restart windows -> docker/sdk start. It uses the same ubuntu-"hash". Perhaps wsl ubuntu has changed this after restart of windows?
b
i don't think, it creates another hash. So, then we should proceed to the docker-sdk and spryker-versions. and also the docker-desktop version 🙂 Are the docker-sdk and docker-desktop (nearly) latest?
m
"Docker Desktop 4.4.4 (73704) is currently the newest version available."
👍 1
The only hint i found was https://giters.com/docker/for-win/issues/12406 But there's no solution 😞
b
Hm, that is very strange. Did you try using another Distro? I use Kali-Linux for example.
Remember, when using another distro: stop spryker-containers and enable the docker-integration in Docker-Desktop for the new distro
m
docker/sdk reset ist working, unfortunately only till the next windows restart. weird.
But thank you very much for your help.
... and time 🙂
😄 1
b
would a "normal" docker/sdk up also work? The "start" command simply restarts the containers, "up" on the other hand seems to build some containers new