Main bucket docker manifest is not manifest, which provides docker.
boot2docker sshThere should also be a sanity check to check if VirtualBox is installed as well since Docker for Windows requires Hyper-V and can't run alongside VirtualBox.
@se35710 I dont agree with anything what you wrote. Maybe that move it to extras bucket, but main purpose of this issue is that, it's manifest is misleading and wrong. You expected to install docker, whole docker. Not something, which is dependent on other software, which is not provided by scoop. Completely different software.
And mainly. You write scoop install docker and you see downloading docker-toolbox. Which is inappropriately, and could easily / confuse user, which does not care about writing manifest. User only want to install docker == Not happened and you still need to install Virtualbox manually.
For Hyper-V I see no need for a scoop manifest, since Docker will update itself once installed.
Scoop is not only for autoupdating or anything. Mainly it's for making windows applications installing via command line (usage in CLIs, CIs, VMs, remote sessions, ...). And some of applications in scoop handle updates itself. (firefox for example)
Why not use chocolatey's logic?
https://chocolatey.org/packages/docker
https://chocolatey.org/packages/docker-compose
https://chocolatey.org/packages/docker-for-windows
https://chocolatey.org/packages/docker-toolbox
https://chocolatey.org/packages/docker-machine
docker.json -> Docker CLI
docker-toolbox.json -> DockerToolbox
docker-for-windows.json -> Docker CE for Windows
@Ash258 The official Docker client binary (docker.exe) is not available as a separate download, it is only available through the docker-toolbox package. (Although there is a non official community built docker.exe used by Chocolatey available at https://github.com/StefanScherer/docker-cli-builder).
For all those who do not use Docker daemon on their machines the current manifest provides them with all that they need. Please do not remove the current manifest, instead rename it to docker-cli if you must.
Great discussion. Can this issue be closed? @Ash258?
Nothing was solved. Still waiting for renaming as suggested in https://github.com/lukesampson/scoop/issues/2682#issuecomment-434765825.
Named:
Some comments:
- docker.json -> docker-toolbox.json
docker-toolbox is packaged with Oracle VM VirtualBox, which needs elevated rights to install (see https://github.com/lukesampson/scoop/issues/229). So by renaming it to docker-toolbox, scoop still would not install VirtualBox. The manifest does allow the use of docker-machine to create Docker VM machines in VMware Workstation, Hyper-V, VirtualBox or any other docker-machine driver, even provision hosts remote.
- www.github.com/StefanScherer/docker-cli-builder/ -> docker.json
Why use an unofficial build of docker.exe when it's available in the docker-toolbox binary? The main issue seems to be from the comment above:
And mainly. You write scoop install docker and you see downloading docker-toolbox. Which is inappropriately, and could easily / confuse user, which does not care about writing manifest. User only want to install docker == Not happened and you still need to install Virtualbox manually.
...then why not just re-add the note removed in commit https://github.com/lukesampson/scoop/commit/ee1d277eae3144525bd60706939ddc48ffb8f77d
Add more cleanup in the post_install step, or don't create shortcuts and shims for everything but docker.exe if needed.
- docker-nightly.json -> Maybe correct. Never heard of it and never used it.
The nightly builds of docker.exe / dockerd.exe can be found here, and the local docker daemon can be configured as in the note in docker-nightly.json. Unfortunately Docker, Inc. removed the binary release distributions from dockerproject.org and Github, why the manifest are as they are.
Most helpful comment
Why not use chocolatey's logic?
https://chocolatey.org/packages/docker
https://chocolatey.org/packages/docker-compose
https://chocolatey.org/packages/docker-for-windows
https://chocolatey.org/packages/docker-toolbox
https://chocolatey.org/packages/docker-machine
docker.json-> Docker CLIdocker-toolbox.json-> DockerToolboxdocker-for-windows.json-> Docker CE for Windows