Comments (4)
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.
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.
(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.
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)
- make natdnshostresolver1 and natdnsproxy1 easily configurable via environment variables HOT 2
- VERR_PATH_NOT_FOUND
- ssh command should return exit code of the command that was ran HOT 1
- VM SSH Port config HOT 1
- VM stops but message says it failed on Windows HOT 3
- Eliminate need for ssh command HOT 4
- boot2docker cli missing disk space usage, load, mem usage etc HOT 1
- boot2docker not detecting NO_PROXY environment variable HOT 1
- r ps
- boot2docker upgrade 1.6.0 -> 1.6.1 fails HOT 1
- boot2docker image download progress HOT 1
- boot2docker inside VBox HOT 1
- boot2docker VM crashes when started via boot2docker CLI HOT 1
- Running multiple boot2docker with docker-machine HOT 1
- boot2docker init fails with VBoxManage synthcpu args on VirtualBox 5.0 HOT 6
- shellinit command not working reliably on Powershell HOT 1
- Unclear instructions for showing env vars HOT 1
- Cannot start VM in windows HOT 1
- failed to finish build-cross.sh on mac pro (yosemite)
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 boot2docker-cli.