Docker logs

From NovaOrdis Knowledge Base
Revision as of 02:13, 20 November 2017 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.