79657920

Date: 2025-06-08 14:41:31
Score: 1.5
Natty:
Report link
  1. docker logs -f will show live logs only stdout/stderr where as docker attach shows including stdin also.
    standard output/input/error
    2. docker logs only readonly just you can see logs where as attach you can send input (interactive).
    3. If you give ctr+c container will not stop in logs whereas in attch container will stop.
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Arun