module Docr
Defined in:
builder/command_builder.crbuilder/logs_builder.cr
builder/ps_builder.cr
builder/rm_builder.cr
builder/run_builder.cr
builder/stop_builder.cr
docr.cr
types/error_response.cr
Constant Summary
-
VERSION =
"0.1.0"
Class Method Summary
-
.command
Helper method to start a command.
Class Method Detail
def self.command
#
Helper method to start a command. This is to help somewhat mimic the docker cli command and hide away the need to know the docker API specific names to do things.
Docr.command.run
.image("alpine:latest")
.rm # (or .autoremove)
.name("mycontainer")
.port("8080/tcp", "8080")
.execute