There are two containers in Docker. Will the computing power of the two containers add up to more than that of the host? I am curious about this matter.
Impossible, resources are limited, if there is a way to make a resource have more than one output, obviously this is against the physical logic.
Unless there is no optimization (resource occupation, thread scheduling, etc.) of what runs in the container, splitting the two containers will give the illusion that the computing power exceeds that of the host.
Docker is designed to mask differences, but this abstraction layer itself consumes a portion of resources.
If you really want extreme performance, it is better to write a kernel from scratch and let it take charge of only one task to monopolize all computing resources.
The two containers can only squeeze the performance of the host as much as possible, and in most cases (coding level) may not be able to do so.