Skip to content

Improve clear-docker-cache script

Description

The current clear-docker-cache will fail with no output when docker is not running.

Proposal

  • Check if docker is running using docker info in a conditional statement
  • If the command succeeds the user sees relevant debug information
  • Else the command fails the user will the relevant error message

Links to related issues and merge requests / references

Merge Request #2248

Edited by akg