package current_docker

  1. Overview
  2. Docs

Module Current_docker.RawSource

Low-level API. This is useful for building custom components. The functions are similar to the ones in S.DOCKER except that each one takes the context explicitly as an argument, there are no labels, input values are no longer wrapped with Current.t, and the output is a Current.Primitive.t type. You can wrap these with let> to create your own components.

Sourcemodule Image : sig ... end
Sourceval pull : docker_context:string option -> schedule:Current_cache.Schedule.t -> ?auth:(string * string) -> ?server:string -> ?arch:string -> string -> Image.t Current.Primitive.t
Sourceval peek : docker_context:string option -> schedule:Current_cache.Schedule.t -> arch:string -> string -> S.repo_id Current.Primitive.t
Sourceval build : docker_context:string option -> ?level:Current.Level.t -> ?schedule:Current_cache.Schedule.t -> ?timeout:Duration.t -> ?squash:bool -> ?buildx:bool -> ?dockerfile:[ `File of Fpath.t | `Contents of string ] -> ?path:Fpath.t -> ?pool:unit Current.Pool.t -> ?build_args:string list -> pull:bool -> [ `Git of Current_git.Commit.t | `Dir of Fpath.t | `No_context ] -> Image.t Current.Primitive.t
Sourceval run : docker_context:string option -> ?pool:unit Current.Pool.t -> ?run_args:string list -> Image.t -> args:string list -> unit Current.Primitive.t
Sourceval pread : docker_context:string option -> ?pool:unit Current.Pool.t -> ?run_args:string list -> Image.t -> args:string list -> string Current.Primitive.t
Sourceval tag : docker_context:string option -> tag:string -> Image.t -> unit Current.Primitive.t
Sourceval push : docker_context:string option -> ?auth:(string * string) -> ?server:string -> tag:string -> Image.t -> S.repo_id Current.Primitive.t
Sourceval service : docker_context:string option -> name:string -> image:Image.t -> unit -> unit Current.Primitive.t
Sourceval compose : ?pull:bool -> docker_context:string option -> name:string -> contents:string -> unit -> unit Current.Primitive.t
Sourceval compose_cli : ?pull:bool -> ?up_args:string list -> docker_context:string option -> name:string -> detach:bool -> contents:string -> unit -> unit Current.Primitive.t
Sourcemodule Cmd : sig ... end

Building Docker commands.

OCaml

Innovation. Community. Security.