Answers for "mac os quit docker"

1

find and stop docker engine mac

$ launchctl list | grep docker
# 111117   0       com.docker.docker.2388
$ launchctl stop com.docker.docker.2388
# Docker stopped
$ launchctl start com.docker.docker.2388
# Docker started
Posted by: Guest on June-30-2021
0

manually shut down docker mac

test -z "$(docker ps -q 2>/dev/null)" && osascript -e 'quit app "Docker"'
Posted by: Guest on April-04-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language