Giter Site home page Giter Site logo

Comments (4)

edmorley avatar edmorley commented on August 19, 2024

If we do make this change, we'll also need to adjust start.sh in the Windows installer, since it tries to compensate for this already (cc @SvenDowideit), so we'd double up:
https://github.com/boot2docker/windows-installer/blob/7bf811d592bddf0b71c534f652fc935f6b3f6914/start.sh#L30-L31

from boot2docker-cli.

edmorley avatar edmorley commented on August 19, 2024

Ah, it seems like as of boot2docker/boot2docker#786 the new advice is to use:
eval "$(boot2docker shellinit)"
...instead, which fixes this and other issues.

Unfortunately the old form is used in a fair number of Stack overflow/how-to guides etc, plus I read the boot2docker readme before they made that change.

To make it clearer, perhaps we could advise to use eval "$(boot2docker shellinit)"in the shellinit text (to part that goes to stderr, like the "Writing foo" messages)?

from boot2docker-cli.

thaJeztah avatar thaJeztah commented on August 19, 2024

(Hi again :))

Can you add some more information about the shell / environment you're running this in? (PowerShell, CMD.exe etc.). I know there have been quite some differences in behavior, depending on that.

from boot2docker-cli.

edmorley avatar edmorley commented on August 19, 2024

I've updated a few more instances of the docs for related projects that were still recommending the old way:
docker/docker-py#633
docker/compose#1533

from boot2docker-cli.

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.