Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

fix: don't show docker version when daemon is not running #222

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

simoarpe
Copy link

Description

Detect when Docker daemon is not running and in such a case do not show the version number

Motivation and Context

Closes #221

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

  • I have tested using MacOS
  • I have tested using Linux

Checklist:

  • I have checked that no other PR duplicates mine
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

Detect when Docker daemon is not running and in such a case do not show the version number
@simoarpe simoarpe changed the title Fix Docker version fix: don't show docker version when daemon is not running Oct 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to add docker running state check before docker version show?
1 participant