Skip to content

Stop leaking tar files in temporary folder#278

Merged
marcuslinke merged 1 commit intodocker-java:masterfrom
marcust:feature/stop_leaking_tar_files
Jul 21, 2015
Merged

Stop leaking tar files in temporary folder#278
marcuslinke merged 1 commit intodocker-java:masterfrom
marcust:feature/stop_leaking_tar_files

Conversation

@marcust
Copy link
Copy Markdown

@marcust marcust commented Jul 21, 2015

The temporary tar files generated from the docker folder are preserved after
the contents is send to the docker deamon. In order to prevent filling up the
temporary directory those files must be deleted.

As the API is based on InputStreams the easiest solution is to wrap the input
stream an delete the file on close.

The temporary tar files generated from the docker folder are preserved after
the contents is send to the docker deamon. In order to prevent filling up the
temporary directory those files must be deleted.

As the API is based on InputStreams the easiest solution is to wrap the input
stream an delete the file on close.
@marcuslinke marcuslinke merged commit 80679f4 into docker-java:master Jul 21, 2015
@marcuslinke
Copy link
Copy Markdown
Contributor

@marcust Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants