cnabio / duffle

CNAB installer
https://duffle.sh
MIT License
375 stars 54 forks source link

duffle relocate unzip files in /tmp which is occupying the entire space left #897

Open manoj3986 opened 4 years ago

manoj3986 commented 4 years ago

Hi, I am new to duffle cli and VMware Tanzu. I am trying to push images to registry. however when I am using following command, duffle is unzipping the files in /tmp and there is no space left resulting in an error. Can this be re-directed to other location?

/duffle-0.1.0-linux relocate -f /var/tmp/build-service-0.1.0.tgz -m relocated.json -p harbor.io/image-registry

vdice commented 4 years ago

Hi @manoj3986. Currently the command doesn't support unzipping to a location other than the default temp dir. It looks like it might be fairly straightforward to add a new flag and plumb the user-supplied override into the relevant function. Alternatively, would it be possible for your use case to increase the size and/or make space in /tmp prior to running the relocate command?