add option to compress docker tar file