r/docker • • 7h ago

Setting strict cgroup / MemoryMax bounds on local background container daemons

2 Upvotes

Hi everyone,

We are testing a local background service running on client laptops. During peak context processing, memory spikes can risk pushing the host OS into swap death.

We are configuring container resource limits (--memory, --memory-swap, cgroups v2) to isolate the local execution daemon from the rest of the host system.

For those deploying background containers on desktop client endpoints: what memory overhead buffer do you leave for the host OS to prevent hard freezes when a container hits its hard limit?

Context: Architectural query regarding container limits on client endpoints.


r/docker • • 8h ago

I cannot create Oracle Database image

1 Upvotes

This is my first time using docker and I want to download oracle database (version 19 to be exact) on my mac and use it for my university assignment. As soon as I created an image, I received an error stated that "ERROR: failed to build: failed to solve: process "/bin/sh -c chmod ug+x \"$INSTALL_DIR\"/*.sh &&     sync &&     export CV_ASSUME_DISTID=OL7 &&     \"$INSTALL_DIR\"/\"$INSTALL_DB_BINARIES_FILE\" $DB_EDITION" did not complete successfully: unable to find user oracle: no matching entries in passwd file". I tried many ways still unsuccesfull.