modified for DSM 7.2, 7.1.1, and default to local logger #63
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This modification fixes the name of the package and the packages directory from
Docker
toContainerManager
for DSM 7.2It also changes the default logger to the local file logging driver which is a more efficient driver than the JSON File logging driver and also does file rotations by default, avoiding the potential issue of running out of file space on your host due to much larger and non-rotated log files accumulating.
I have not run into issues with this so far; I am able to start and stop containers from the Container Manager UI, all of my containers were able to run fine on custom network or default bridge with no issues. The only issue is the absense of any logs in the Container Manager UI.
docker log
works just fine, as do log-exposure apps likedozzle
.From the Docker documentation: