class Takeltau::DockerContainer
takeltau docker container
Public Class Methods
new(args = [], local_options = {}, configuration = {})
click to toggle source
Initialize docker container rubocop:disable Metrics/AbcSize rubocop:disable Metrics/MethodLength
Calls superclass method
# File lib/takeltau/docker/container/cli.rb, line 30 def initialize(args = [], local_options = {}, configuration = {}) # initialize thor parent class super args, local_options, configuration @docker_user = config.active['docker_user'] @docker_repo = config.active['docker_repo'] @docker_tag = config.active['docker_tag'] @docker_registry = config.active['docker_registry'] @username = ENV['USER'] || 'noname' @workdir = Dir.getwd @hostname = _docker_container_lib_hostname @hostlabel = "hostname=#{@hostname}" @takellabel = config.active['mutagen_socket_takelage_label'] @mutagensock = config.active['mutagen_socket_path_mutagen'] @gpgsock = config.active['mutagen_socket_path_gpg'] @sshsock = config.active['mutagen_socket_path_ssh'] end
Public Instance Methods
clean()
click to toggle source
# File lib/takeltau/docker/container/cli.rb, line 61 def clean docker_container_clean end
command(command)
click to toggle source
# File lib/takeltau/docker/container/cli.rb, line 73 def command(command) docker_container_command(command) end
daemon()
click to toggle source
# File lib/takeltau/docker/container/cli.rb, line 85 def daemon docker_container_daemon end
login()
click to toggle source
# File lib/takeltau/docker/container/cli.rb, line 102 def login docker_container_login end
prune()
click to toggle source
# File lib/takeltau/docker/container/cli.rb, line 114 def prune docker_container_prune end