package docker-api
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val list : ?addr:Unix.sockaddr -> ?all:bool -> unit -> t list
list ()
return the list of images.
type source =
| Image of {
}
| Src of string
| Stdin of {
len : int;
write : Unix.file_descr -> int -> unit;
}
See create
.
val create : ?addr:Unix.sockaddr -> ?platform:string -> source -> unit
create from
creates an image by either pulling it from a registry or importing it.
`Image img
provides the nameimg.name
of the image. The name may include a tag or digestimg.tag
. Ifimg.tag
is empty when pulling an image, it causes all tags for the given image to be pulled.`Src url
provides theurl
from which the image can be retrieved.`Stdin img
provides the image as its lengthimg.len
and a functionimg.write fd len
that will write the image onfd
.
val from_image : ?repo:string -> ?tag:string -> string -> source
from_image name
convenience function that returns an Image
source.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>