lib/takelage/docker/check/module.rb in takelage-0.5.0 vs lib/takelage/docker/check/module.rb in takelage-0.5.1
- old
+ new
@@ -4,10 +4,10 @@
# Backend method for docker check running.
# @return [Boolean] is the docker daemon running?
def docker_check_running
log.debug "Check if the docker daemon is running"
- cmd_docker_info = 'docker info'
+ cmd_docker_info = config.active['docker_info']
status = try cmd_docker_info
unless status.exitstatus.zero?
log.error "The docker daemon is not running"