Class: Bolt::Config::Transport::Docker
- Defined in:
- lib/bolt/config/transport/docker.rb
Constant Summary collapse
- OPTIONS =
{ "host" => { type: String, desc: "Host name." }, "interpreters" => { type: Hash, desc: "A map of an extension name to the absolute path of an executable, "\ "enabling you to override the shebang defined in a task executable. The "\ "extension can optionally be specified with the `.` character (`.py` and "\ "`py` both map to a task executable `task.py`) and the extension is case "\ "sensitive. When a target's name is `localhost`, Ruby tasks run with the "\ "Bolt Ruby interpreter by default." }, "service-url" => { type: String, desc: "URL of the Docker host used for API requests." }, "shell-command" => { type: String, desc: "A shell command to wrap any Docker exec commands in, such as `bash -lc`." }, "tmpdir" => { type: String, desc: "The directory to upload and execute temporary files on the target." }, "tty" => { type: TrueClass, desc: "Whether to enable tty on exec commands." } }.freeze
- DEFAULTS =
{}.freeze
Instance Attribute Summary
Attributes inherited from Base
Method Summary
Methods inherited from Base
#[], #dig, #fetch, #include?, #initialize, #merge, options, #resolve, #resolved?, #to_h
Constructor Details
This class inherits a constructor from Bolt::Config::Transport::Base