Skip to content

Instantly share code, notes, and snippets.

@dejurin
Created May 5, 2025 20:17
Show Gist options
  • Save dejurin/adf6f35f32b8d7737e4f68b8ead2dbd3 to your computer and use it in GitHub Desktop.
Save dejurin/adf6f35f32b8d7737e4f68b8ead2dbd3 to your computer and use it in GitHub Desktop.

Revisions

  1. dejurin created this gist May 5, 2025.
    8 changes: 8 additions & 0 deletions docker.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    # Show logs for webapp container
    docker logs container

    # Show last 100 lines
    docker logs --tail 100 container

    # Follow logs in real time
    docker logs -f container