This repository was archived by the owner on Feb 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 360
Proposal: Shipping Docker CLI for Windows #80
Comments
As long as you don't literally mean that the installer itself will be doing the downloading, I'm +1 and was already planning on including this. I'm +1 to having |
I guess we can take OS X as an example, I don't know how we deliver the docker CLI binary with the installation. Do we download in the installer or bundle with the installer? |
It's currently bundling, especially so that when people download
"boot2docker 1.5.0", they get Docker 1.5.0, which is how it works here too.
|
@tianon ok I was obviously speculating about how it works. I'll read the scripts, thanks! |
❤️
|
I just ran |
Oh forgot to close this lol |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We have a full Docker command-line interface for Windows coming up with the Docker 1.6 release and people can now use docker.exe on their Windows machines without ssh-ing to the boot2docker VM.
This proposal is about modifying the Boot2Docker Windows Installer so that people don't need any other package manager or download something to get going with Docker on Windows.
tl;dr gimme the ROADMAP
boot2docker-cli
: (Fix shellinit output for cmd.exe/powershell boot2docker-cli#356)set VAR=VAL
on cmd and$env:VAR = "VAL"
in powershellprintExport()
.windows-installer
:docker.exe
within the installer (Update build.sh to pull bundle dependencies #82)start.sh
to not to ssh in the vbox VM by default (Make start.sh start a shell instead of sshing VM #88)docs
:docker/docs
to reflect the changes to b2d installation (Update Documentation for Windows Installation moby/moby#11875)Updating boot2docker installer
I'm proposing to edit the boot2docker windows installer to:
docker.exe
cli binary in the installer.boot2docker.exe
(e.g.c:\program files\boot2docker\...
)%PATH%
.boot2docker up
command and the start menu item "Boot2Docker Start" so that it does not ssh into the b2d VM by default on windows (because user does not need to).%PATH%
requirement on windows.Package Manager Installations
We are planning to distribute docker CLI for Windows mainly with boot2docker installation, however windows has several package managers, like Chocolatey and OneGet. I will be creating docker packages for those and will be maintaining for a few releases and Docker folks can take over any time. (chatted w/ Sven about this)
These package managers will download from an URL (like http://get.docker.com/builds/Windows/x86_64/docker-1.6.0.exe), and add it to
%PATH%
env var so that people can just use docker.exe CLI without boot2docker or anything. This will be the suggested way to install just the CLI.Since both b2d and package managers will add the CLI binary (docker.exe) to
%PATH%
, documentation must suggest using one or the other; not both. For instance, if user has different versions of docker.exe in%PATH%
, the look path precedence will come into the picture and in this case we will assume user knows what they are doing and not get in their way.Documentation
I will be writing/updating docs about the new installation methods as well as the existing Boot2Docker method. I'm also volunteering to shoot video tutorials about this. (moby/moby#11192)
Also, while updating the
b2d up
cmd and the "Boot2Docker Start" batch script, we may need to add additional instructions to help users understand how to use the docker.exe. I will revisit those as well.Conclusion
It appears like after the freeze (in 2 days) we will have some 1.6 rc binaries. I will update the installer and start.sh script to reflect the changes and send a pull request.
Thanks if you've read this far, please let me know what you think.
cc: @SvenDowideit @tianon @icecrime @tiborvass @johngossman
The text was updated successfully, but these errors were encountered: