How to analyze condition of your docker under windows

Hello everybody,

today I want to share one more piece of search, which I've found today.

My current situation with docker is the following: it refuses to be executed.

In order to see, why, following command can be used:

wget -UseBasicParsin | iex

This command gave me following output:

Describing Windows Version and Prerequisites
[+] Is Windows 10 Anniversary Update or Windows Server 2016 86ms
[+] Has KB3192366, KB3194496, or later installed if running Windows build 14393 17ms
[+] Is not a build with blocking issues 16ms
[+] Has 'Containers' feature installed 9.78s
Describing Docker is installed
[+] A Docker service is installed - 'Docker' or 'com.Docker.Service' 33ms
[+] Service is running 14ms
[+] Docker.exe is in path 2.09s
[+] Docker is registered in the EventLog service 91ms
Describing User has permissions to use Docker daemon
[+] docker.exe should not return access denied 26ms
Describing Windows container settings are correct
[+] Do not have DisableVSmbOplock set to 1 29ms
[+] Do not have zz values set 21ms
[+] Do not have FDVDenyWriteAccess set to 1 26ms
Describing The right container base images are installed
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.27/images/json: open //./pipe/docker_engine: The syst
em cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevate
d to connect. This error may also indicate that the docker daemon is not running.
[-] At least one of 'microsoft/windowsservercore' or 'microsoft/nanoserver' should be installed 235ms
ValidationMetadataException: The argument is null or empty. Provide an argument that is not null or empty, and then t
ry the command again.
ParameterBindingValidationException: Cannot validate argument on parameter 'Property'. The argument is null or empty.
Provide an argument that is not null or empty, and then try the command again.
at <ScriptBlock>, <No file>: line 115
Describing Container network is created
[+] At least one local container network is available 1.06s
[-] At least one NAT, Transparent, or L2Bridge Network exists 53ms
Expected {0} to be greater than {0}
206: $totalnets | Should BeGreaterThan 0
at <ScriptBlock>, <No file>: line 206
[-] NAT Network's vSwitch is internal 88ms
Expected: {Internal}
But was: {}
211: $switchType | Should Be "Internal"
at <ScriptBlock>, <No file>: line 211
[-] Specified Network Gateway IP for NAT network is assigned to Host vNIC 23ms
Expected: value to not be empty
215: $natGatewayIP | Should Not BeNullOrEmpty
at <ScriptBlock>, <No file>: line 215
[-] NAT Network's internal prefix does not overlap with external IP' 53ms
Expected {0} to be greater than {0}
242: $hostips.Count | Should BeGreaterThan 0
at <ScriptBlock>, <No file>: line 242
Showing output from: docker info

Showing output from: docker version
Version: 17.03.1-ce
API version: 1.27
Go version: go1.7.5
Git commit: c6d412e
Built: Tue Mar 28 00:40:02 2017
OS/Arch: windows/amd64

Showing output from: docker network ls

Getting Warnings & errors in the Windows event logs from the last 24 hours
Logs saved to C:\Program Files\docker\docker\logs_20170413-112337.csv

Getting Docker for Windows daemon logs from the last execution
Note: More logs are available at C:\Users\yuriy.zaletskyy\AppData\Local\Docker. Only showing the latest.

Most important part of this output is log file location, which can give another push on how to start your docker.

No Comments

Add a Comment