Scoop: Can scoop install docker for windows?

Created on 27 Mar 2019  ·  19Comments  ·  Source: lukesampson/scoop

I used scoop install docker to install docker, but I don't even know how to start it. I tried to use docker run hello-world after installation, but it failed. What should I do before using Docker Toolbox? Can scoop install Docker for Windows instead of Docker Toolbox?

Most helpful comment

You need to use raw github url if you want to install it this way.
scoop install https://raw.githubusercontent.com/Ash258/scoop-Ash258/master/bucket/docker.json

image

All 19 comments

You could use docker from my bucket. (https://github.com/Ash258/scoop-Ash258/blob/master/bucket/docker.json)

There was some discussion with @r15ch13 about docker for windows in extras, bucket but i don't know result of this conversation 😂

@r15ch13 Do you know, where we talked about docker for windows?

你可以从我的桶里使用docker。(https://github.com/Ash258/scoop-Ash258/blob/master/bucket/docker.json

@ r15ch13讨论了关于docker for windows的额外内容,但是我不知道这个对话的结果😂

@ r15ch13 你知道吗,我们在哪里谈到windows的docker?

thanks,I will try :+1:

@r15ch13 Found it 😃 #3082

你可以从我的桶里使用docker。(https://github.com/Ash258/scoop-Ash258/blob/master/bucket/docker.json

@ r15ch13讨论了关于docker for windows的额外内容,但是我不知道这个对话的结果😂

@ r15ch13 你知道吗,我们在哪里谈到windows的docker?
image
Installation failed

You need to use raw github url if you want to install it this way.
scoop install https://raw.githubusercontent.com/Ash258/scoop-Ash258/master/bucket/docker.json

image

You need to use raw github url if you want to install it this way.
scoop install https://raw.githubusercontent.com/Ash258/scoop-Ash258/master/bucket/docker.json

image
I installed successfully!!! Thanks
But is this different from double-clicking Docker for Windows Installer.exe? Can docker be installed only in C:\Program Files\Docker\Docker instead of C:\Users\jiayao\scoop\apps?

Unfortunately no. As said in notes. There is no possible way how to force docker installation into scoopdir. At least before few months. Haven't checked from then.

ok ,still thanks!

can install, but cannot recognize by vscode

When i try to install docker with scoop install https://raw.githubusercontent.com/Ash258/scoop-Ash258/master/bucket/docker.json it prompts me to log in with admin rights.

Docker%20for%20Windows%20Installer.exe (834,8 MB) [===========================================================] 100%
Running pre-install script...
Running installer... [15:35:10.186] [InstallHandler] Not run as admin, relaunching with UAC prompt
System.ComponentModel.Win32Exception (0x80004005): El usuario ha cancelado la operación
en System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
en System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
en CommunityInstaller.ProcessEnvironmentDetector.RelaunchAsAdmin(String[] args)
en CommunityInstaller.Program.Main(String[] args)

And? ... I do not see any issue. Is somewhere in my bucket said it is UAC prompt free?

Well the main page of Scoop says:

Say goodbye to permission pop-ups
Scoop installs programs to your home directory by default. So you don’t need admin permissions to install programs, and you won’t see UAC popups every time you need to add or remove a program.

I expected all buckets from scoop to be free from asking for admin rights. I guess i was wrong.

what causes this?
image

I would say you miss innounp.

scoop install innounp

Then open new issue using link from screenshot. I cannot test / investigate further right now.

I would say you miss innounp.

scoop install innounp

thanks, my bad. scoop said it's installed. but it(innounp) seems broken or previous installation failed.
I reinstalled it, problem solved.

@Ash258 Could you tell me how to add docker daemon to windows service after installation? Cannot find any relative document.

No

When I run:

C:\> scoop install https://raw.githubusercontent.com/Ash258/scoop-Ash258/master/bucket/docker.json

I get the following error:

WARN  error: The remote name could not be resolved: 'http'
Couldn't find manifest for 'https://raw.githubusercontent.com/Ash258/scoop-Ash258/master/bucket/docker.json'.

Note I'm on Windows 10

Was this page helpful?
0 / 5 - 0 ratings