Closed SvenDowideit closed 9 years ago
Another env var was just introduced with #345. Also this one is not always present and can be either no_proxy or NO_PROXY. So I think they old way of doing it dynamic needs to stay.
If we suggest that people use eval $(b2d shellinit)
, this problem goes away, doesn't it?
no? the issue lists a number of problems with the code currently.
@databus23 cool - I'll code it in too - presumably machine has added it to their code?
What I'm saying is that using eval $(...)
instead of just $(...)
would fix https://github.com/boot2docker/boot2docker/issues/716.
As was mentioned in https://github.com/boot2docker/boot2docker/issues/716#issuecomment-72019148 :+1:
What I'm trying to say is that we should do this, yes, but we should also update our documentation to include eval
appropriately.
@tianon oh. ic - is that what you didn't say :p
replaced by #361
Signed-off-by: Sven Dowideit SvenDowideit@home.org.au
I've copied the docker-machine code, and then escape the spaces.
Closes: https://github.com/boot2docker/boot2docker/issues/716 https://github.com/boot2docker/boot2docker/issues/715