Difference between revisions of "Docker logs"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
 
  docker logs CONTAINER_NAME [[2]]>[[&1]] | [[grep]] -v INFO
 
  docker logs CONTAINER_NAME [[2]]>[[&1]] | [[grep]] -v INFO
 +
 +
[[docker logs --timestamps]]
  
 
  docker logs -f --tail 10 CONTAINER_NAME
 
  docker logs -f --tail 10 CONTAINER_NAME

Revision as of 11:05, 7 December 2023

Advertising: