Ship Assets

dockerlayer

A dockerlayer asset will pull an image from a public docker registry, registry.replicated.com, or a configured third party registry and produce a tar archive of the container image.

Required Parameters

dest - The directory in which the layer should be unpacked

image - The docker image URL

layer - a SHA256 of the layer to extract. You can inspect the layer SHAs of a docker image by running something like docker save myimage > myimage.tar && tar xvf myimage.tar -C /tmp. Ship will unpack the archive at <layer sha>/layer.tar to the dest directory.

source - The source for the image. Should be either public, replicated, or the name of a third-party private registry previously configured on console.replicated.com