Skip to content

Check for Docker Desktop correctly #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 20, 2025
Merged

Check for Docker Desktop correctly #112

merged 1 commit into from
May 20, 2025

Conversation

rcjsuen
Copy link
Collaborator

@rcjsuen rcjsuen commented May 20, 2025

Problem Description

The Docker Desktop check is not being executed correctly. It's running docker docker desktop version now.

Proposed Solution

When the code was refactored to use a generic spawnDockerCommand function, the removal of 'docker' was missed so we were no longer running docker desktop version correctly. We also need to use the onError function to ensure that the code is executed correctly in the event that the docker binary cannot be found.

Proof of Work

Verified that the code is working in a debugger.

When the code was refactored to use a generic spawnDockerCommand
function, the removal of 'docker' was missed so we were no longer
running 'docker desktop version' correctly. We also need to use the
onError function to ensure that the code is executed correctly in the
event that the docker binary cannot be found.

Signed-off-by: Remy Suen <[email protected]>
@rcjsuen rcjsuen self-assigned this May 20, 2025
@rcjsuen rcjsuen merged commit eaf1bba into main May 20, 2025
12 checks passed
@rcjsuen rcjsuen deleted the fix-dd-check branch May 20, 2025 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant