Class: Floe::ContainerRunner::Podman
- Defined in:
- lib/floe/container_runner/podman.rb
Constant Summary collapse
- DOCKER_COMMAND =
"podman"
Constants included from DockerMixin
DockerMixin::MAX_CONTAINER_NAME_SIZE
Constants inherited from Runner
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Podman
constructor
A new instance of Podman.
Methods inherited from Docker
#cleanup, #output, #run_async!, #running?, #status!, #success?, #wait
Methods included from DockerMixin
Methods inherited from Runner
#cleanup, for_resource, #output, register_scheme, #run_async!, #running?, #status!, #success?
Constructor Details
#initialize(options = {}) ⇒ Podman
Returns a new instance of Podman.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/floe/container_runner/podman.rb', line 8 def initialize( = {}) require "awesome_spawn" require "securerandom" super @identity = ["identity"] @log_level = ["log-level"] @network = ["network"] @noout = ["noout"].to_s == "true" if .key?("noout") @pull_policy = ["pull-policy"] @root = ["root"] @runroot = ["runroot"] @runtime = ["runtime"] @runtime_flag = ["runtime-flag"] @storage_driver = ["storage-driver"] @storage_opt = ["storage-opt"] @syslog = ["syslog"].to_s == "true" if .key?("syslog") @tmpdir = ["tmpdir"] @transient_store = !!["transient-store"] if .key?("transient-store") @volumepath = ["volumepath"] end |