Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 221 Bytes

logs.md

File metadata and controls

5 lines (5 loc) · 221 Bytes
  1. docker ps
  2. make note of container id of which logs you want
  3. docker inspect --format='{{.LogPath}}' YOUR CONTAINER ID
  4. make not of .log filename
  5. docker logs YOUR CONTAINER ID >& YOUR LOG FILENAME