Adding lcow and docker-nigthly. Currently this enables docker on windows without vms (#2216)

This commit is contained in:
Julio Stanley 2018-04-23 08:21:51 -04:00 committed by Richard Kuhnt
parent 0a753b75fe
commit 2190bb3e0d
2 changed files with 79 additions and 0 deletions

62
docker-nightly.json Normal file
View File

@ -0,0 +1,62 @@
{
"homepage": "https://master.dockerproject.org",
"version": "nightly",
"description": "Run the latest master build of docker client and engine",
"url": "https://master.dockerproject.org/windows/x86_64/docker.zip",
"extract_dir": "docker",
"depends": [
"sudo",
"lcow"
],
"suggest": {
"Linux container support on Windows": [
"lcow"
],
"Docker Compose": [
"docker-compose"
],
"Docker Machine": [
"docker-machine"
],
"Kubernetes Standalone": [
"minikube"
],
"Kubernetes Client": [
"kubectl"
],
"compose.yml to kubernetes.yml": [
"kompose"
]
},
"bin": [
"dockerd.exe",
"docker.exe"
],
"notes": [
"Make sure to have container features enabled (will need a restart afterwards):",
"sudo Enable-WindowsOptionalFeature -Online -FeatureName containers -All -NoRestart",
"sudo Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -NoRestart",
"",
"To test run you can use:",
"sudo dockerd -D --experimental -H \"npipe:////./pipe//docker_lcow\"",
"",
"To install and run as a service (with linux containers support - lcow):",
"You do not have to create a docker group you can replace it with (whoami)",
"",
"sudo net localgroup docker /add",
"sudo net localgroup docker (whoami) /add",
"sudo dockerd.exe `",
" --register-service `",
" --experimental `",
" --storage-opt lcow.kirdpath=\"$(scoop prefix lcow)\" `",
" -G docker",
"sudo Start-Service docker",
"",
"To remove the service you can use:",
"sudo Stop-Service docker",
"sudo powershell",
"(gwmi win32_service -filter \"name='docker'\").delete()",
"",
"For help, see https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-docker/configure-docker-daemon"
]
}

17
lcow.json Normal file
View File

@ -0,0 +1,17 @@
{
"homepage": "https://github.com/linuxkit/lcow",
"license": "Apache-2.0",
"version": "4.14.29-0aea33bc",
"url": "https://github.com/linuxkit/lcow/releases/download/4.14.29-0aea33bc/release.zip",
"hash": "5687be10447757cc0eb04a91b4dec3e296bf980200923fe806755d5fbb1a03fa",
"checkver": {
"url": "https://github.com/linuxkit/lcow/releases/latest",
"re": "/releases/tag/(?:v)?([\\d.]+-\\w+)"
},
"autoupdate": {
"url": "https://github.com/linuxkit/lcow/releases/download/$version/release.zip",
"hash": {
"url": "https://github.com/linuxkit/lcow/releases/tag/$version"
}
}
}