GoogleContainerTools/skaffold

Warn if Docker daemon is out of space

Offen

#4.695 geöffnet am 18.08.2020

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Go (1.416 Forks)batch import
help wantedkind/frictionkind/todopriority/p3

Repository-Metriken

Stars
 (12.822 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 3T 6h) (16 gemergte PRs in 30 T)

Beschreibung

We've noticed across a couple of friction logs that strange things occur when the Docker daemon is out of space, particularly with minikube.

Before calling docker build, could we check docker system df to make sure there is adequate space and emit a warning if not? This could also be useful as a trigger to prune images during startup (#4693).

NOTE: This would be applicable for both local builds (minikube docker-env) and remote builds.

Contributor Guide