Library
Module
Module type
Parameter
Class
Class type
The docker engine running on Host
.
module Image : sig ... end
val pull :
?label: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 build :
?schedule:Current_cache.Schedule.t ->
?timeout:Duration.t ->
?squash:bool ->
?label:string ->
?dockerfile:Dockerfile.t Current.t ->
?pool:Current.Pool.t ->
pull:bool ->
S.source ->
Image.t Current.t
build ~pull src
builds a Docker image from source.
val run :
?label:string ->
?pool:Current.Pool.t ->
Image.t Current.t ->
args:string list ->
unit Current.t
run image ~args
runs image args
with Docker.
tag image ~tag
does "docker tag image tag"
push image ~tag
does "docker tag image tag && docker push tag".