Class: Mrsk::Commands::Registry
- Defined in:
- lib/mrsk/commands/registry.rb
Constant Summary
Constants inherited from Base
Base::DOCKER_HEALTH_LOG_FORMAT, Base::DOCKER_HEALTH_STATUS_FORMAT
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#container_id_for, #initialize, #run_over_ssh
Constructor Details
This class inherits a constructor from Mrsk::Commands::Base
Instance Method Details
#login ⇒ Object
4 5 6 |
# File 'lib/mrsk/commands/registry.rb', line 4 def login docker :login, registry["server"], "-u", sensitive(lookup("username")), "-p", sensitive(lookup("password")) end |
#logout ⇒ Object
8 9 10 |
# File 'lib/mrsk/commands/registry.rb', line 8 def logout docker :logout, registry["server"] end |