ojob.io/docker/expand

Usage

ojob ojob.io/docker/expand image=image.tar output=output layers=true usetar=true json=container.json 

Description

Expands a docker container archive file, layer by layer, into an output folder.

Expects

Name Description
image The .tar or .tar.gz docker container image archive
output The output folder where the layers will be expanded to
layers If layers=true will create a sub-folder for each layer
usetar If true, the tar unix tool will be used to set unix permissions and ownerships
json If defined, the container json file will be saved to the specified path.