If stutter occurs in docker service, how to troubleshoot the cause?

in the process of using docker, it is found that, docker build execution is quite slow, at the same time, previous services are almost inaccessible. Both cpu and mem occupancy rates are dissatisfied.

after being stuck for a period of time, it returns to normal again. How to investigate the cause?

Linux 3.10.0-693.21.1.el7.x86_64-sharp1 SMP Wed Mar 7 19:03:37 UTC 2018 x86 "64 GNU/Linux

Mar.19,2021

post docker logs, and build images are generally not done together on the machine running the service.

Menu