Sha256: 0018878eab193aa2fecf8b99267ed1e51e04005c6cdecbaed82f166d6cdfabf5
Contents?: true
Size: 592 Bytes
Versions: 17
Compression:
Stored size: 592 Bytes
Contents
# frozen_string_literal: true # takelage docker check running module DockerCheckDaemon # Backend method for docker check running. # @return [Boolean] is the docker daemon running? def docker_check_daemon return true if @docker_daemon_running log.debug 'Check if the docker daemon is running' status = try config.active['cmd_docker_check_daemon_docker_info'] unless status.exitstatus.zero? log.error 'The docker daemon is not running' return false end log.debug 'The docker daemon is running' @docker_daemon_running = true true end end
Version data entries
17 entries across 17 versions & 1 rubygems