Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Collect logs from a specified container #12

Open
brianredbeard opened this issue Nov 3, 2014 · 3 comments
Open

Collect logs from a specified container #12

brianredbeard opened this issue Nov 3, 2014 · 3 comments

Comments

@brianredbeard
Copy link
Member

As we deploy more of our components in containers we will need a method for collecting logs from a known path inside of a container. In the case of some products this can be handled through inspecting a container, finding it's "logs" volume, and grabbing all of that data.

@jonboulle
Copy link
Contributor

@brianredbeard this sounds a little nebulous - can you be more specific about what you'd like implemented now?

@brianredbeard
Copy link
Member Author

This is a generic version of #13

@tschuy
Copy link
Contributor

tschuy commented Aug 19, 2016

This seems like a useful feature to have still.

Currently, our "docker support" is to copy in a bunch of files located in/var/lib/docker.

Looking through https://godoc.org/github.com/docker/engine-api, I don't see an easy way to access files. It might simply be best to shell out to docker inspect.

thoughts?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants