https://rancher.com/ logo
Title
s

strong-jewelry-16362

01/26/2023, 5:49 PM
with rancher-desktop when executing docker build commands after executing a few times Rancher desktop locks up. The build just hangs indefinitely. When using docker buildx build ... it always hangs. Is this a known issue and is there a fix. I'm running Rancher-Desktop version 1.7.0
q

quick-keyboard-83126

01/26/2023, 6:20 PM
on what platform? Windows? macOS? Linux?
s

strong-jewelry-16362

01/26/2023, 6:22 PM
Sorry, that would be helpful. Mac OS 13.1; M1 Pro; 32gb
q

quick-keyboard-83126

01/26/2023, 6:42 PM
from memory there are ways to get more verbose output from docker build(x). For me, the
pull
phase is incredibly slow. If you're morbidly curious, you could use
rdctl shell
and then use
strace
to watch the underlying docker daemon...
beyond that, you kinda need to figure out which process is misbehaving (docker[on macOS], the dockerd in the lima vm, the lima vm, something else)
my guess is that the
strace
(or even
top
in the vm) would give some insight
good luck -- i'm not the person to help past these hints 😕
s

strong-jewelry-16362

01/26/2023, 6:49 PM
thank you
the process that sucks up resources is the qemu-system-aarch64. That thing is a resource consumption beast
q

quick-keyboard-83126

01/26/2023, 6:53 PM
that's looking at the world from the outside
s

strong-jewelry-16362

01/26/2023, 6:53 PM
I understand
q

quick-keyboard-83126

01/26/2023, 6:53 PM
you'd want to run
top
from inside
rdctl shell
to see what's actually spending the resources