Docker backend consumes all the hosts memory

Hi all,
since my docker desktop update to 4.1.1 on my mac mini with m1 16gb the docker com.docker.backend runs in an out of memory incl. that the host forcing the system to a restart.
The record for docker are set to use max 10GB but aloft 12h running the com.docker.backend is using 35GB.

Cloud integration: 1.0.17
Version: 20.10.8
API version: 1.41
Go version: go1.16.6
Git commit: 3967b7d
Built: Fri Jul 30 19:55:20 2021
OS/Arch: darwin/arm64
Context: default
Experimental: true

Server: Docker Engine - Community
Version: 20.10.8
API version: 1.41 (minimum version 1.12)
Go version: go1.16.6
Git commit: 75249d8
Built: Fri Jul 30 19:53:48 2021
OS/Arch: linux/arm64
Experimental: false
Version: 1.4.9
GitCommit: e25210fe30a0a703442421b0f60afac609f950a3
Version: 1.0.1
GitCommit: v1.0.1-0-g4144b63
Version: 0.19.0
GitCommit: de40ad0

Docker info:
Context: default
Debug Mode: false
buildx: Build with BuildKit (Docker Inc., v0.6.3)
compose: Docker Compose (Docker Inc., v2.0.0)
scan: Docker Scan (Docker Inc., v0.8.0)

Containers: 2
Running: 2
Paused: 0
Stopped: 0
Images: 22
Server Version: 20.10.8
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version: e25210fe30a0a703442421b0f60afac609f950a3
runc version: v1.0.1-0-g4144b63
init version: de40ad0
Security Options:
Profile: default
Kernel Version: 5.10.47-linuxkit
Operating System: Docker Desktop
OSType: linux
Architecture: aarch64
CPUs: 7
Total Memory: 9.718GiB
Name: docker-desktop
Docker Root Dir: /var/lib/docker
Debug Mode: false
HTTP Proxy: http.docker.internal:3128
HTTPS Proxy: http.docker.internal:3128
Experimental: false
Insecure Registries:
Live Restore Enabled: false


@ickeundso, did you found a solution to this?

Unfortunately I haven’t had time to deal with my mac mini problem for some time. Can’t say the problem is gone or still there. But I have another problem with the mac mini M1, after a while (I don’t know how long it takes) the Docker desktop shuts down, but it dies during the shutdown process. (The dashboard then says showdown … the docker animation is running. But it never finally shuts down). So maybe it’s the same problem with the memory. Yesterday I updated the mac mini M1 to Docker Desktop 4.8.1 (78998), so I will see what happens.