View Docker container logs

In this article


Service logs

Whether you are troubleshooting a service or checking in on its logging activity, it's easy to access the logs for a service or for specific containers in Medstack Control. Service logs contain the aggregate of all active container logs. They can be accessed in the following way.

  1. Click the "Manage Docker" button for the environment containing the service logs you'd like to view.
  2. Click on the service name or the "View" button to open the service details page.
  3. Click the "Logs" button.

Container logs

Container logs pertain to both active and destroyed containers in the Docker environment. Approximately every 24 hours, Docker environments in Medstack Control are configured to prune destroyed container and their logs, or sooner if space is required by the node on which the containers reside.

Active containers

Active container logs contain the logs for a specific container only. These logs can be accessed in the following way.

  1. Click the "Manage Docker" button for the environment containing the service logs you'd like to view.
  2. Click on the service name or the "View" button to open the service details page.
  3. Identify the container of interest in the Service containers list.
  4. Click the "Logs" button for the container.

Destroyed containers

Destroyed container logs are preserved in the Swarm for approximately 24 hours or until additional storage space is required by the node on which the containers are stored. These logs can be accessed in the following way.

  1. Click the "Manage Docker" button for the environment containing the service logs you'd like to view.
  2. Click on the service name or the "View" button to open the service details page.
  3. Identify the container of interest in the Tasks/History list.
  4. Click the "View" button for the container in the column labeled "Logs".
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Submit a request for support Submit a request for support