Recommendation: Only exclude Docker overlay2
from snapshots
#49
andrewvaughan
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
/var/lib/docker
folder contains some things people may want to back up, such as thevolumes
directory, especially, if their configurations use named volumes.Generally, the only true "large" directory in the folder that is rebuildable is the
overlay2
directory (as far as I'm aware) which contains all of your image layers. I'm not an expert on how Docker works in its folder directory, so don't take this as expert advice, but it seems like only excluding thedocker/overlay2
folder would be a better choice for snapshot exclusion than the entiredocker
configuration.Beta Was this translation helpful? Give feedback.
All reactions