Coder Social home page Coder Social logo

FEAT: Support Docker Logs about logarr HOT 8 CLOSED

monitorr avatar monitorr commented on July 26, 2024 1
FEAT: Support Docker Logs

from logarr.

Comments (8)

seanvree avatar seanvree commented on July 26, 2024

@jonfinley - Don't you use docker?

from logarr.

jonathanfinley avatar jonathanfinley commented on July 26, 2024

@seanvree nope, but this is good to look into.

from logarr.

peedub avatar peedub commented on July 26, 2024

You can get the location of a container log using the following command: docker inspect --format='{{.LogPath}}' my-container

I was trying to figure out how to combine this with the other issue - using dynamic logs - but with no success yet. One of the main problems is that this location is in /var/lib/docker... and is owned by root

For example:
$sonarr = shell_exec('RET='docker inspect --format='{{.LogPath}}' sonarr';echo $RET'); "Sonarr" => '$sonarr',

from logarr.

seanvree avatar seanvree commented on July 26, 2024

@peedub Yeah, I have an idea. I haven't been able to work on this project much lately since I've thrown all my time at Monitorr, but I have a whole bag of stuff I need to implement into the project.

from logarr.

seanvree avatar seanvree commented on July 26, 2024

@si0972 do you have any idea how to do this?

from logarr.

JigSawFr avatar JigSawFr commented on July 26, 2024

Great idea ! 👍

from logarr.

vertig0ne avatar vertig0ne commented on July 26, 2024

https://docs.docker.com/engine/api/v1.30/#operation/ContainerLogs

from logarr.

seanvree avatar seanvree commented on July 26, 2024

@vertig0ne NICE! Thanks brotha!

from logarr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.