Skip to content
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

bug: ./startDatabase CLI in says the database is alive when it's not in WSL. #1983

Closed
Sapython opened this issue Sep 19, 2024 · 2 comments
Closed

Comments

@Sapython
Copy link

Provide environment information

It's not but here is the version

"initVersion": "7.37.0"

Describe the bug

If you run the ./startDatabase command inside WSLand the docker desktop on windows is running, it works fine. But if you pause the docker desktop on Windows side the WSL cli breaks. As the condition to check if docker is present is met, but is docker running is not. This can be checked by running docker info which fails to output a valid status runtime code that triggers the condition that the docker desktop is not running but is present in the env PATH.

Reproduction repo

https://github.com/Sapython/interior-design-project

To reproduce

  1. Just create a new project inside WSL
  2. Stop docker desktop from running on windows.
  3. Then run start-database.sh and it will show a success message.

Additional information

image

The First line is with Docker desktop running and the second one is without but in both cases it shows that the container is operational.

@Sapython
Copy link
Author

Pull request for this fix is #1984

@juliusmarminge
Copy link
Member

Closed by #1975

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants