tweaks usage in README to add cache volume #81
Closed
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.
Description:
I added a new suggested volume to the README to contain the ddclient cache.
Benefits of this PR and context:
Things will usually work just fine without this, but strictly speaking one wants to persist the ddclient cache via volume in addition to the configuration.
Without persisting this cache, every time the container restarts (before the IP address has changed), it will log this warning:
When the cache is persisted as suggested, this warning does not occur, yielding one fewer warning in your servers' application logs which requires learning and/or remembering whether it is safe to ignore.
How Has This Been Tested?
Before making the change, I restarted the container and observed the warning in the log.
After making the change, I started the container (the warning persisted, because the volume was initially empty).
I then restarted the container, and observed the warning was absent from the log.
Source / References:
https://askubuntu.com/questions/317662/ddclient-updates-every-time-and-logs-nochg-no-update-required