Is there a correlation between docker and host cpu?

  cpu, docker, jvm, spring

I’m trying to do a performance test with a spring web application.

The web application was run locally, and the load tool and db were run on the host.

However, during the performance test, an error stating that the web request could not be received suddenly occurred. The JVM’s cpu was not consumed even by 10%.

I found something strange, and when I looked at the host cpu usage, Docker’s cpu usage was close to 700%.

When I measured the cpu usage inside the container inside Docker, 200% of the load tool and about 90% of the db were occupied.

Is the reason the error occurred during the load test related to docker?

I think that there is no problem with the cpu usage on the pc because the docker does not turn off when it goes over 700%.

Source: Docker Questions