Class: Mrsk::Commands::Registry
- Defined in:
- lib/mrsk/commands/registry.rb
Constant Summary
Constants inherited from Base
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", redact(registry["username"]), "-p", redact(registry["password"]) end |
#logout ⇒ Object
8 9 10 |
# File 'lib/mrsk/commands/registry.rb', line 8 def logout docker :logout, registry["server"] end |