Class: Avm::Docker::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/docker/runner.rb

Constant Summary collapse

DOCKER_DEFAULT_REGISTRY_METHOD =
:docker_default_registry
DOCKER_DEFAULT_REGISTRY_NAME =
'local'

Instance Method Summary collapse

Instance Method Details

#docker_default_registryEacDocker::Registry?

Returns:

  • (EacDocker::Registry, nil)


38
39
40
# File 'lib/avm/docker/runner.rb', line 38

def docker_default_registry
  ::EacDocker::Registry.new(default_docker_registry_name)
end

#runObject



28
29
30
31
32
33
34
35
# File 'lib/avm/docker/runner.rb', line 28

def run
  setup
  banner
  build
  output_image_name
  push
  container_run
end