I have an image for building software that has bind mounts to my host.
During the build it does a simple
cp -a <file a on bind mount> <file b on same bind mount>. The file is 1.7Mb but the log (stdout and stderr on the host in this case) seems to be hung for over 15 minutes! I also verified the
cp seems to be completed almost immediately since the files are both there and same sizes.
I look at the
docker container stats and I can see the CPU is at 100% which I am used to seeing, as well as when I watch
top on my host I see the command
make from the container is at the top around 100% too, which I am also used to seeing. I have plenty of space on the host and bind mount. The next command to be run is another
Does anyone know what can cause this behavior?
If not can I get suggestions on how I can debug this? I know this doesn’t happen on our legacy build VMs, it just does the copy and then immediately goes to the next
I’ll happily supply any additional info I can.