Docker logs

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

Used to fetch the logs of a container. Any output directed to stdout in a running container is captured in a log file that can be viewed with docker logs command.

docker [-f] <container-id>

Options

-f, --follow

Follow log output.