container logs are empty
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 13d 8h
- Merged PRs (30d)
- 2
Description
Short question:
I read the logs (stdout/stderr) over the container.logs and that work but after some times, the output going empty but the docker logs xy show a output. This is happens a long time and different version of docker-py. Anyway I think that is my bug with wrong handling.
https://github.com/home-assistant/hassio/blob/dev/hassio/docker/interface.py#L263
I hope someone can give me a hint. Thanks a lot!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing hassio/docker/interface.py at the linked line and the container.logs usage described in the report. Compare that behavior with the output from docker logs and determine a reproducible cause for the output becoming empty; done means the discrepancy is explained and a focused fix or reproduction is identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100