
ojob ojob.io/docker/collapse image=image.tar input=input json=container.json usetar=true
Collapse a previously expanded docker container archive file, layer by layer, into an output image file.
| Name | Description |
|---|---|
| image | The .tar docker container image archive |
| input | The input folder from where the layers will be collapsed from |
| json | The container json file will be saved to the specified path. |
| usetar | If true, forces the tar unix tool will be used to set unix permissions and ownerships (default is auto-detect) |