module Docker

Defined in:

docker.cr

Constant Summary

VERSION = "0.1.2"

Class Method Summary

Class Method Detail

def self.on_int(&block : -> _) #

Override SIGINT trap with given block


[View source]
def self.on_term(&block : -> _) #

Override SIGTERM trap with given block


[View source]
def self.setup #

Call this method to setup STDOUT and STDERR syncing as well as handlers for SIGINT and SIGTERM


[View source]
def self.setup_io_syncing #

Call this method to only setup syncing of STDOUT and STDERR


[View source]
def self.setup_signal_handling #

Call this method to only setup signal handlers for SIGINT and SIGTERM


[View source]