fix the issue of docker command to collect logs