Difference between revisions of "Docker logs"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
<code>docker logs</code> command allows to view the [[logs]] of a [[container]]. https://docs.docker.com/engine/reference/commandline/logs/
 
<code>docker logs</code> command allows to view the [[logs]] of a [[container]]. https://docs.docker.com/engine/reference/commandline/logs/
  
 
+
<pre>
 
  docker logs CONTAINER_NAME [[2>&1]] | [[grep]] -v INFO
 
  docker logs CONTAINER_NAME [[2>&1]] | [[grep]] -v INFO
 +
</pre>
  
 
== Related commands ==
 
== Related commands ==

Revision as of 05:52, 14 June 2020

Advertising: