Check for available Docker resources
K8s clusters are relatively resource demanding on local environments. Often Decks cannot be installed because of node pressure - missing disk space, memory and so on.
What about a check (maybe after the install command) to see whether everything is fine or if we can identify common issues and offer help.
docker system df offers disk information. However these may not be of any use. We probably have to check the local disk information (something like df -h).
From what I know the disk usage of docker is limited. In terms of disk space we could therefore just check the available space. If it is < X GB we display a warning and if it is really small like Y < X GB * 0.5 we exit with an error?
docker info provides us with available memory and CPU information.
docker stats --no-stream offers current memory and CPU information.