package current_docker
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
The default Docker engine (from the $DOCKER_HOST
environment variable).
module Image : sig ... end
val pull :
?label:string ->
?arch:string ->
schedule:Current_cache.Schedule.t ->
string ->
Image.t Current.t
pull ~schedule tag
ensures that the latest version of tag
is cached locally, downloading it if not.
val peek :
?label:string ->
arch:string ->
schedule:Current_cache.Schedule.t ->
string ->
S.repo_id Current.t
peek ~schedule ~arch tag
gets the latest version of tag
without actually pulling it.
val build :
?level:Current.Level.t ->
?schedule:Current_cache.Schedule.t ->
?timeout:Duration.t ->
?squash:bool ->
?label:string ->
?dockerfile:[ `File of Fpath.t | `Contents of string ] Current.t ->
?pool:unit Current.Pool.t ->
?build_args:string list ->
pull:bool ->
S.source ->
Image.t Current.t
build ~pull src
builds a Docker image from source.
val run :
?label:string ->
?pool:unit Current.Pool.t ->
?run_args:string list ->
Image.t Current.t ->
args:string list ->
unit Current.t
run image ~args
runs image args
with Docker.
val pread :
?label:string ->
?pool:unit Current.Pool.t ->
?run_args:string list ->
Image.t Current.t ->
args:string list ->
string Current.t
pread image ~args
runs image args
with Docker the same way than run
does but returns its stdout as a string.
val tag : tag:string -> Image.t Current.t -> unit Current.t
tag image ~tag
does "docker tag image tag"
push image ~tag
does "docker tag image tag && docker push tag".
val service : name:string -> image:Image.t Current.t -> unit -> unit Current.t
service ~name ~image ()
keeps a Docker SwarmKit service up-to-date.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>