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

Check for Docker running in WSL #7

Merged
merged 3 commits into from
May 3, 2020
Merged

Check for Docker running in WSL #7

merged 3 commits into from
May 3, 2020

Conversation

PVermeer
Copy link
Contributor

Issue: When running docker in WSL with docker desktop. Is-wsl would return true.

Fix: added package 'is-docker' to correct this behavior.

Other: fixed a bug in test test 'not inside WSL, but inside Linux' that failed in WSL.

index.js Show resolved Hide resolved
@sindresorhus sindresorhus changed the title Feat: check for docker when running in WSL Check for Docker running in WSL May 3, 2020
@sindresorhus sindresorhus merged commit bb99257 into sindresorhus:master May 3, 2020
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.

2 participants