Skip to main content
Version: Archive

Docker Log Collection

Summary

This article covers how to collect logs from a Docker container and upload them to DH2i for support to analyze.

Information

  1. List existing Docker containers.

    docker ps -a
  2. Collect Docker logs from the container(s) using either the container id or the container name and then output to a file.

    docker logs <name> > newdockerlogfile
  3. Upload the log file using DH2i Client Uploads (Requires client login).