Class: Takelage::DockerCheck

Inherits:
SubCommandBase show all
Includes:
ConfigModule, DockerCheckDaemon, LoggingModule, SystemModule
Defined in:
lib/takelage/docker/check/cli.rb

Overview

takelage docker check

Instance Method Summary collapse

Methods included from DockerCheckDaemon

#docker_check_daemon

Methods included from ConfigModule

#config, #configured?, #initialize_config

Methods included from SystemModule

#command_available_else_error?, #command_available_else_warn?, #hash_to_yaml, #read_yaml_erb_file, #read_yaml_file, #rm_fr, #run, #run_and_capture, #run_and_exit, #run_and_fork, #try

Methods included from LoggingModule

#initialize_logging, #log

Methods inherited from SubCommandBase

banner, subcommand_prefix

Instance Method Details

#daemonObject

Check if docker daemon is running.



19
20
21
# File 'lib/takelage/docker/check/cli.rb', line 19

def daemon
  exit docker_check_daemon
end