Difference between revisions of "Docker logs"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
  docker logs -f --tail 10 CONTAINER_NAME
 
  docker logs -f --tail 10 CONTAINER_NAME
  
  docker ps -q | [[xargs -L]] 1 docker logs
+
  [[docker ps -q]] | [[xargs -L]] 1 docker logs
  
 
  --[[log-driver]]=[[journald]]
 
  --[[log-driver]]=[[journald]]

Revision as of 08:02, 18 April 2023

Advertising: