Git Product home page Git Product logo

Comments (11)

lewisl9029 avatar lewisl9029 commented on May 22, 2024 1

@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.

russalex avatar russalex commented on May 22, 2024 1

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.

jolibert avatar jolibert commented on May 22, 2024

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.

russalex avatar russalex commented on May 22, 2024

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.

atrauzzi avatar atrauzzi commented on May 22, 2024

Hmm, I think you pulled the trigger too quickly here.

I'm not talking about the docker engine. I'm talking about the client.

@bitcrazed

from wsl.

tdeckers avatar tdeckers commented on May 22, 2024

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.

tdeckers avatar tdeckers commented on May 22, 2024

After some digging found #1123 to match what I saw. So it's being tracked.

from wsl.

aseering avatar aseering commented on May 22, 2024

@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.

aseering avatar aseering commented on May 22, 2024

Ah, right, the ticket that @tdeckers found :-)

from wsl.

longlostbro avatar longlostbro commented on May 22, 2024

Just to clarify. Currently docker does not work in BashOnWindows. Right?

from wsl.

aseering avatar aseering commented on May 22, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.