Method: Baha::Config#init_docker!
- Defined in:
- lib/baha/config.rb
#init_docker! ⇒ Object
Initialize Docker Client
129 130 131 132 133 134 135 136 137 138 139 140 141 |
# File 'lib/baha/config.rb', line 129 def init_docker! Docker. = @options if @config.has_key?('docker_url') url = @config['docker_url'] Docker.url = url end if @secure Docker.url = Docker.url.gsub(/^tcp:/,'https:') end LOG.debug { "Docker URL: #{Docker.url}"} LOG.debug { "Docker Options: #{Docker..inspect}"} Docker.validate_version! end |