Skip to content
New issue

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

Add a reminder to build-one.sh push operations to cleanup after yourself #41

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

oddhack
Copy link
Collaborator

@oddhack oddhack commented Jul 3, 2024

Docker builds and old images can consume vast amounts of space quickly. This just prints out a reminder and suggests some steps to take to clean up after yourself once an image is pushed (but not when it's just built and not pushed).

@rpavlik let me know if OK.

@oddhack oddhack requested a review from rpavlik July 3, 2024 02:57
@rpavlik
Copy link
Contributor

rpavlik commented Jul 24, 2024

Seems fine, I feel like I've run some of those commands before but not all of them. I tend to prune images using portainer long after the fact.

Docker builds and old images can consume vast amounts of space quickly.
This just prints out a reminder and suggests some steps to take to clean
up after yourself once an image is pushed (but when it's just built and
not pushed).
@rpavlik rpavlik force-pushed the warn-build-cache branch from 6fda54c to 4d34d39 Compare July 24, 2024 22:33
@oddhack
Copy link
Collaborator Author

oddhack commented Jul 25, 2024

Seems fine, I feel like I've run some of those commands before but not all of them. I tend to prune images using portainer long after the fact.

Usually just the build and image caches accumulate huge amounts. There are about 8 different docker things that cache but most of them are tiny. I'm down to about 20 GB free on my SSD so it's getting to be a problem.

@oddhack oddhack merged commit 16a9840 into main Jul 25, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants