Implements the Docker.Command behaviour for docker create.
Creates a container without starting it. Accepts the same options
as Docker.Commands.Run but produces a container ID without running.
Examples
import Docker.Commands.Create
"nginx:alpine"
|> new()
|> name("my-nginx")
|> port(8080, 80)
|> Docker.create()
Summary
Types
@type t() :: %Docker.Commands.Create{ cap_add: term(), cap_drop: term(), command: term(), cpus: term(), entrypoint: term(), env: term(), env_file: term(), extra_args: term(), hostname: term(), image: term(), init: term(), interactive: term(), labels: term(), memory: term(), name: term(), network: term(), platform: term(), ports: term(), privileged: term(), read_only: term(), restart: term(), tty: term(), user: term(), volumes: term(), workdir: term() }