The requested resource is in use. When memory limit for container is defined with --memory

Continuing the discussion from Error: The requested resource is in use. (Only when using --memory):

Interesting…

I’m facing a similar problem with a Gitlab Docker Executor.

I’m running on top of Windows 10 Pro 22H2.

I experience also similar the containter were being created without problems until eventually something went off and the Gitlab Runner starter failing with the following message:

ERROR: Job failed (system failure): Error response from daemon: hcs::CreateComputeSystem cfefc8c520c5599bb101f9682779461d1f4f0e162fd9b1f1666a01fca9b91aa6: The requested resource is in use. (exec.go:78:0s)

I also removed the memory parameter in the gitlab runner’s config.toml and then everything started working properly. I’m using Moby’s Docker-CE so no Docker Desktop… how could I achieve something similar to a “Factory Reset”?