When learning docker, I have always heard someone emphasize that docker cannot be used as a virtual machine.
Officials also do not recommend using containers as virtual machines.
However, it has recently been discovered that some people just want to use containers as virtual machines, and it is likely that they will need to use containers as virtual machines in the future.
At first, I opposed this use, but later I found no reason to oppose it.
So. What are the problems when containers are used as virtual machines, and why are they not recommended?
Docker itself is a virtual technology, which aims at reducing the dependency of services. It is mainly light and can be used as a virtual machine. However, it is not recommended. If too many things are installed in the container, it violates the principle of light weight. I believe you also found that the mirror downloaded by docker is basically a basic mirror and will not take up too much computer resources. Personal understanding hopes to be helpful to you.