package docker-api
Module Docker.ImageSource
list () return the list of images.
Source
type source = | Image of {}| Src of string| Stdin of {len : int;write : Unix.file_descr -> int -> unit;
}
See create.
create from creates an image by either pulling it from a registry or importing it.
`Image imgprovides the nameimg.nameof the image. The name may include a tag or digestimg.tag. Ifimg.tagis empty when pulling an image, it causes all tags for the given image to be pulled.`Src urlprovides theurlfrom which the image can be retrieved.`Stdin imgprovides the image as its lengthimg.lenand a functionimg.write fd lenthat will write the image onfd.