Class: Redmine::Commands::Docker::Create
- Inherits:
-
Object
- Object
- Redmine::Commands::Docker::Create
- Defined in:
- lib/redmine/commands/docker/create.rb
Instance Method Summary collapse
- #command_line ⇒ Object
-
#initialize(config, arguments) ⇒ Create
constructor
A new instance of Create.
Constructor Details
#initialize(config, arguments) ⇒ Create
Returns a new instance of Create.
7 8 9 10 |
# File 'lib/redmine/commands/docker/create.rb', line 7 def initialize(config, arguments) @config = config @arguments = arguments end |
Instance Method Details
#command_line ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/redmine/commands/docker/create.rb', line 12 def command_line [ cli_prefix, name, privileged_mode, env_vars, ports, mount, image, ].join(' ') end |