
ojob ojob.io/docker/expand image=image.tar output=output layers=true usetar=true json=container.json file=/etc/myconfig.conf
Expands a docker container archive file, layer by layer, into an output folder.
| 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. |
| file | If defined, only a specific file will be extracted |