-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathdocker.yml
37 lines (37 loc) · 1.42 KB
/
docker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: nightly
description: Docker Desktop. Open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud.
homepage: https://www.docker.com
license:
identifier: Apache-2.0
url: https://github.com/moby/moby/blob/master/LICENSE
notes:
- This version of docker manifest is nightly and has its own mind.
- All files will be installed into DEFAULT docker directory. (C:\Program Files\Docker)
- 'I suggest to change the docker images location:'
- ' https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file'
- ''
- Updating is handled by docker itself.
- ' No updates will be done to this manifest.'
- ''
- "'scoop uninstall docker' will uninstall docker completely."
- ' Images, VM, settings, ...'
architecture:
64bit:
url: https://desktop.docker.com/win/stable/amd64/Docker%20Desktop%20Installer.exe#/dockerInstall.exe
pre_install: |
if (is_admin) {
if ((Get-WindowsOptionalFeature -FeatureName 'Microsoft-Hyper-V' -Online).State -eq 'Disabled') {
Write-UserMessage -Message 'Hyper-V is disabled. Enabling. Please restart PC before first start of Docker.' -Warning
Enable-WindowsOptionalFeature -Online -FeatureName 'Microsoft-Hyper-V' -All -NoRestart
}
}
installer:
args:
- install
- --quiet
keep: true
uninstaller:
file: dockerInstall.exe
args:
- uninstall
- --quiet