How to configure docker logging?
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 1.3k
- Forks
- 310
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 1
Description
I have installed overleaf via overleaf-toolkit and then installed full texlive within the container via:
tlmgr update --self
tlmgr install scheme-full
My /var/lib/docker/ folder has now a size of hefty 21GB with 16,4GB in "overlay2" and 4GB in "containers" (and I have no other dockerized software in use).
I understand that I cannot downsize the docker images themselves residing in "overlay2", but I want to deactivate the docker logging to eliminate the 4GB of logs in "containers". The logs are placed like this:
/var/lib/docker/containers/CONTAINERID/CONTAINERID-json.log
I googled how to deactivate docker logging and it could be added as parameter at startup ( --log-driver none), but when I look into the bin/start Script I do not know, where to put it in.
Is there a quick hint for my problem?
Feature-request:
From my point of view, docker logging for the overleaf containers should be deactivated at default and optional via config.
Contributor guide
No contributing guide indexed for this repository
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 reading bin/start and the Docker startup configuration to locate where container logging is set. Check how the option would apply to all Overleaf containers and how it could be made configurable; done when the requested default and optional logging behavior is clearly defined and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100