Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

491
Views
Download docker logs from remote server

How can I download docker logs from remote server easily ? I can pipe the logs to a file and then use scp to download the file, but it's a bit cumbersome.

about 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Depends what you're trying to do.

If you're just trying to ship the logs off somewhere else for storage/auditing purpose, maybe consider a different logging driver like the syslog or splunk drivers.

However, if you just want to copy them locally for debugging purposes, the json-file driver will store the files in /var/lib/docker/containers/<container-id>/<container-id>-json.log

You can simply scp that file down and get all the logs you need.

about 4 years ago · Santiago Trujillo Report

0

Their are multiple ways of doing it.

Docker logs are nomally present at

/var/lib/docker/containers/<container-id>/<container-id>-json.log
  1. Do direct scp from the remote system.

  2. Use some log monitoring tools like Graylog or ELK so that you can stream your live container logs in browser.

  3. Use Container orchestration tool like kubernetes which shows all container logs in its console itself even if multiple remote nodes are present.

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!