Restart Docker from command line

Would also love some official ways to start/stop the service. I was going to update https://github.com/matryer/bitbar-plugins/blob/e3ebf9ec6f941d29646dff9fe0c6bc6af8f57a56/Dev/Docker/docker-status.1m.sh (Bitbar plugin to show containers for docker) but I don’t see official ways documented anywhere.

I found “launchctl start com.docker.helper” to start the service and I’m sure I can find other ways to do it by debugging the process but it would be nice if this was officially documented somewhere.

1 Like