public static File createTmpFile(String nameHint) {
        return createTmpFile(nameHint, TMP_FILE_PRESERVE_MODE.DELETE_ON_EXIT);
    }
Creates a unique file under {@code java.io.tmpdir} and returns the {@link File#getCanonicalFile() canonical}
{@code File}.  The file is deleted on exit.  This methodology
<ol>
  <li>guarantees a unique file name,</li>
  <li>doesn't clutter the filesystem with test-related directories or files,</li>
  <li>returns an absolute path (important for relative volume binding strings),
  <li>and returns a canonical file name.</li>
</ol>

@param nameHint a string used to help create the temporary file name, may be {@code null}
@return the temporary file
src/test/java/io/fabric8/maven/docker/util/PathTestUtil.java