Error when running docker desktop from cronjob | pressku.com

Trending 3 months ago

I person a book that checks each infinitesimal if docker desktop is running. If it fails, it should motorboat docker desktop.

My book useful good if I tally from bid line, but it fails erstwhile I tally it by cronjob. Any ideas really to hole this? Ive tried everything.

This is nan error:

Failed to link to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider utilizing --machine=<user>@.host --user to link to autobus of different user) com.docker.backend is not running. Starting Docker Desktop... Error starting Docker Desktop: Command '['systemctl', '--user', 'start', 'docker-desktop']' returned non-zero exit position 1.
More
close