Comments (11)
@russalex I agree with @atrauzzi
Docker engine not being able to run on WSL is completely understandable, but I see no reason why WSL shouldn't support running the Docker client, which is entirely user-mode AFAIK.
Having Docker client running on WSL would allow cross platform teams to maintain only bash scripts as opposed to requiring a separate set of Powershell/CMD scripts.
from wsl.
The docker client should be working but it has been some time since I have tested the client. Possible that either we put in a bug or you're running in a configuration I have not tried.
Instead of re-opening this old issue, it would be better to open a new one and fill out the template.
from wsl.
I'm not a docker expert but the shell can lag a lot while ctrl-c.
Let him do before closing a window.
from wsl.
Docker is not a supported scenario at this time. We have seen some interest. If this is something you'd like to see I recommend going and voting on our User Voice page.
from wsl.
Hmm, I think you pulled the trigger too quickly here.
I'm not talking about the docker engine. I'm talking about the client.
from wsl.
Any chance this can be re-opened. To be clear, no need for full docker (engine) support. I'd like to be able to use the docker client on Bash. That client would connect through TCP to the docker engine running in a VM.
from wsl.
After some digging found #1123 to match what I saw. So it's being tracked.
from wsl.
@russalex -- I believe there's evidence on one of these tickets that the Docker client is affected by #610 or #616 , causing it to not build images reliably.
from wsl.
Ah, right, the ticket that @tdeckers found :-)
from wsl.
Just to clarify. Currently docker does not work in BashOnWindows. Right?
from wsl.
@longlostbro --
The Docker service does not work in WSL.
The Docker client (connecting to a copy of the service running on Windows or on another host) has basic functionality, but it tends to hang when building images or otherwise transferring lots of data to or from the Docker service.
from wsl.
Related Issues (20)
- wsl.exe doesn't apply the theme from Windows Terminal, make it hard to read. HOT 1
- autoProxy not creating all proxy variants HOT 2
- wsl2 - Network is unreachable with networkingMode=mirrored HOT 2
- Unable to install any distribution - Can't find specified path HOT 5
- wsl update failed: update failed: updating wsl: exit code: 4294967295 HOT 19
- wslpath -u resolves to Docker WSL bind-mount path instead of expected Ubuntu WSL path in a multi-WSL environment HOT 2
- OneDrive shared folder and chmod HOT 5
- WSL2-Linux-Kernel Headers HOT 3
- add vma sanity check in create_existing_sysmem (drivers/hv/dxgkrnl/dxgvmbus.c) HOT 7
- WSL2 is slow and makes my computer unresponsive when running a C++ build in Debug mode inside Docker container HOT 10
- Any wsl command is met with access denied after installing ubuntu 24 HOT 7
- Vmmem process suddenly and randomly takes close to 100% of CPU indefinitely HOT 3
- Why is it borderline impossible to downgrade WSL2? HOT 5
- Libvirt stop working after few minutes HOT 8
- Poor performance with WSL2 and Windows 11 HOT 9
- Can't boot Arch. Failed to translate Windows env variables and failed to mount disk partitions HOT 13
- After installing KB5036893, WSL now logs an event regarding "Invalid networking mode 'mirrored' in C:\Users\<username>\.wslconfig" HOT 5
- wsl.exe cpu too high HOT 7
- Error message on `wsl --exec` can be more informative HOT 3
- Cant change iptable HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsl.