docker daemon is not running code example
Example 1: docker daemon is not running
Net stop com.docker.service
Net start com.docker.service
Example 2: this error may indicate that the docker daemon is not running
Open powershell as admin and use : & 'C:\Program Files\Docker\Docker\DockerCli.exe' -SwitchDaemon
Example 3: htcondor daemons not running
If HTCondor daemons are currently running, but need to be killed and
newly invoked, the condor_restart tool does this. This would be the
case for a new value of a configuration variable for which using
condor_reconfig is inadequate.
To restart all daemons on all machines in the pool,
condor_restart -all
To restart all daemons on a single machine in the pool,
condor_restart <hostname>
where <hostname> is replaced by the host name of the machine to be restarted.