How to present the memory of a docker container
When we use docker, we often encounter that the memory used by the docker container is larger than the memory of the docker host, which will cause the host to crash, resulting in shutdown, which can be prevented by limiting the container memory.