GoogleContainerTools/skaffold

Warn if Docker daemon is out of space

Open

#4,695 opened on Aug 18, 2020

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Go (12,822 stars) (1,416 forks)batch import
help wantedkind/frictionkind/todopriority/p3

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.

Contributor guide

Warn if Docker daemon is out of space · GoogleContainerTools/skaffold#4695 | Good First Issue