We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've been trying to figure out how to make persistent storage "safe".
In the current model I track a timestamp for when an image was last seen by docker-gc. These timestamps are updated when:
docker-gc
docker image --all
The startup rule causes problems when persisting the state:
If we add cleaning of stopped containers (#3) then this gets even more tricky.
Another concern is removing items that aren't in docker anymore (e.g. images that have been docker rmi'd).
docker rmi
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've been trying to figure out how to make persistent storage "safe".
In the current model I track a timestamp for when an image was last seen by
docker-gc
. These timestamps are updated when:docker image --all
)The startup rule causes problems when persisting the state:
docker-gc
wasn't running and it could decide to remove things that are being used.If we add cleaning of stopped containers (#3) then this gets even more tricky.
Another concern is removing items that aren't in docker anymore (e.g. images that have been
docker rmi
'd).The text was updated successfully, but these errors were encountered: