Module: DockerContainerCommand
- Included in:
- Takeltau::DockerContainer, Takeltau::InfoStatus, Takeltau::MutagenCheck, Takeltau::MutagenSocket
- Defined in:
- lib/takeltau/docker/container/command.rb
Overview
tau docker container command
Instance Method Summary collapse
-
#docker_container_command(command) ⇒ Object
Backend method for docker container command.
Instance Method Details
#docker_container_command(command) ⇒ Object
Backend method for docker container command.
6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/takeltau/docker/container/command.rb', line 6 def docker_container_command(command) log.debug 'Running command in container' # no matrjoschka test here unless docker_container_check_existing @hostname return false unless _docker_container_lib_create_net_and_ctr @hostname _docker_container_lib_start_sockets end _docker_container_command_run_command @hostname, command end |