Prevent docker from pausing/sleeping when there are no active displays

Is it possible to prevent docker from pausing/sleeping when there are no active displays?

Here is my situation - I have a mac running docker with the lid closed. It is attached to a KVM. When I switch away from the mac on the kvm, docker pauses all processes. The mac itself is not asleep - I know this because I’m logged into the mac via ssh. As soon as I switch back to the mac on the KVM, the instance unpauses and all http requests and docker commands complete.

Is there a way to prevent docker from pausing like this?

1 Like