Git Product home page Git Product logo

Comments (8)

tiangolo avatar tiangolo commented on May 12, 2024

Hi @xinity !

I'm glad it helped you 😄

I've had that same issue some times, but not many. I think it's related to the way docker communicates with Windows consoles, maybe it's specially related to the combination of docker and winpty, as there's a StdStreams in the error (I guess it refers to stdin, stdout and stderr).

Normally, I just close and open Babun and it works again.

I'm not sure when that issue happens, if it is being a burden to you, you may help me trying to discover what triggers it (or how to trigger and reproduce the issue), to narrow the problem: maybe it's after a sleep / wake Windows cycle, or after an interactive session when the VM was started by the Quickstart Terminal and not the script, etc...

from babun-docker.

xinity avatar xinity commented on May 12, 2024

i'll try and figure out what's going wrong, if i can PR i'll do :)

from babun-docker.

tiangolo avatar tiangolo commented on May 12, 2024

Great, thanks @xinity !

from babun-docker.

xinity avatar xinity commented on May 12, 2024

error happening again, is there any chances we can put a little debug to see what's going on wrong ?

from babun-docker.

tiangolo avatar tiangolo commented on May 12, 2024

You could use $docker_bin, that variable holds the original docker, you could try the command you are using with that variable, maybe prepending console to use winpty.

For example:

console $docker_bin exec -it mycontainer bash

If the error persists, it would be related to Docker or Winpty and not to Docker-Babun, so we probably wouldn't have an easy way to solve it without fixing the code for those other projects.

Also, you may try to run the command with the original Quickstart Terminal, to see if the error happens there too.

from babun-docker.

tiangolo avatar tiangolo commented on May 12, 2024

I think this issue is related to moby/moby#17430 and moby/moby#12506

from babun-docker.

xinity avatar xinity commented on May 12, 2024

yup i saw

moby/moby#12506 is ongoing :(
damn it !

from babun-docker.

tiangolo avatar tiangolo commented on May 12, 2024

Well, as it seems this issue is more related to Docker itself, I will close it here.

from babun-docker.

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.