https://rancher.com/ logo
Title
a

average-summer-82530

03/03/2023, 10:13 AM
Hi all, since I moved from Docker Desktop to Rancher, I have a strange problem when building new containers. Sometimes (not always) the build takes forever. I identified this as a network issue. Does anyone have an idea what options I have to debug or solve this? Sorry for the limited information, happy to provide more!
h

helpful-butcher-75556

03/03/2023, 12:57 PM
Always provide details (OS, etc, and Dockerfile) What command is hanging? I had this building .NET in Docker on Mac M1, and had to switch the base image.
a

average-summer-82530

03/03/2023, 3:18 PM
I'm on Windows 11. In the most recent case it was a very basic devcontainer based off of mcr.microsoft.com/vscode/devcontainers/python:3.9-bullseye
I was able to fix this by running vs code in admin mode. Is there another way? Since vs code is only able run one window in admin mode, this is kinda annoying.
Can anyone help on this issue?
q

quick-keyboard-83126

03/06/2023, 1:45 PM
You might be able to install
strace
into the wsl VM and run it to see what's going on... (I don't know how, I use macOS which uses Lima as opposed to Windows/WSL)