GoogleContainerTools/skaffold

Warn if Docker daemon is out of space

Aberta

#4.695 aberto em 18 de ago. de 2020

 (1 comentário) (0 reação) (0 responsável)Go (1.416 forks)batch import
help wantedkind/frictionkind/todopriority/p3

Métricas do repositório

Stars
 (12.822 estrelas)
Métricas de merge de PR
 (Mesclagem média 3d 6h) (16 fundiu PRs em 30d)

Description

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.

Guia do colaborador