I'm using Docker with Ubuntu in a development environment, but I noticed that docker can use all the resources of the host machine, is there any way I can limit this without having to configure each of the containers?
I tried to configure the docker daemon.json
example:
{
"cpus": 1,
"memory": "4096m"
}