Class: Avm::Self::Instance

Inherits:
Instances::Base show all
Defined in:
lib/avm/self/instance.rb,
lib/avm/self/instance/entry_keys.rb

Defined Under Namespace

Modules: EntryKeys

Constant Summary

Constants inherited from Instances::Base

Instances::Base::ID_PATTERN

Instance Attribute Summary

Attributes inherited from Instances::Base

#application, #suffix

Attributes included from Instances::Base::Dockerizable

#docker_image_options

Instance Method Summary collapse

Methods inherited from Instances::Base

by_id, #host_env_uncached, #id, #initialize, #to_s

Methods included from Instances::Entries

#entry, #full_entry_path, #inherited_entry_value, #other_entry_value, #path_prefix, #read_entry, #read_entry_optional

Methods included from Instances::Base::Dockerizable

#docker_container_exist?, #docker_container_name

Constructor Details

This class inherits a constructor from Avm::Instances::Base

Instance Method Details

#docker_image_classObject



11
12
13
# File 'lib/avm/self/instance.rb', line 11

def docker_image_class
  ::Avm::Self::DockerImage
end

#docker_run_argumentsObject



15
16
17
# File 'lib/avm/self/instance.rb', line 15

def docker_run_arguments
  ['-e', "LOCAL_USER_ID=#{::Process.uid}"]
end