Docker daemon memory consumption grows over time Docker daemon memory consumption grows over time docker docker

Docker daemon memory consumption grows over time


Monitor your containers to see if their memory usage changes over time:

> docker stats

CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS623104d00e43        hq                  0.09%               81.16MiB / 15.55GiB   0.51%               6.05kB / 0B         25.5MB / 90.1kB     3


We saw a similar issue and it seems to have been related to the gcplogs logging driver. We saw the problem on docker 19.03.6 and 19.03.9 (the most up-to-date that we can easily use).

Switching back to using a log forwarding container (e.g. logspout) resolved the issue for us.