Docker for windows EE (running in windows server 2016).
What could be the problem when my docker run command jams/freezes when i try to run a image ?
I just cant figure out what the problem is.
Also if you know how to clean up the docker installation so that i can start from scratch -> it could be nice
I have tried to install docker in many different ways when it always behaved in this way that run command jams/hangs/freezes
So installation is done into a windows server 2016 VM (versio 1607) and in that VM i try to run the commands. Am i doing this wrong or should i always run commands from a client computer, eg. windows 10 ?
So basically what i want to know is dockerd.exe the docker host engine and is docker.exe the client and if so, should i be able to start containers from withing the windows server 2016 VM ?
Expected behavior
Should probably start some kind of dotnet example website or a powershell cmd if that kind of application is tried to be runned.
Actual behavior
Container does not start or get running !?
PS C:\docker\DockerEE> Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
PS C:\docker\DockerEE> Install-Package -Name docker -ProviderName DockerMsftProvider
Restart remote pc (windows server 2016 VM)
PS C:\docker\DockerEE> docker run microsoft/dotnet-samples
Unable to find image ‘microsoft/dotnet-samples:latest’ locally
latest: Pulling from microsoft/dotnet-samples
bce2fbc256ea: Already exists
cb1aafb71473: Pull complete
9a610418c539: Pull complete
02f6d73c6635: Pull complete
d45a0c8fbf08: Pull complete
bfbd165ab478: Pull complete
9c391b35df9d: Pull complete
9cc393d354f1: Pull complete
a7ccb79ff00a: Pull complete
095a6fbea33b: Pull complete
dd4d8b87b1ed: Pull complete
Digest: sha256:abad29ef2d1d9f2531c590175b07205eee08c08899260020818ef5aede3baede
Status: Downloaded newer image for microsoft/dotnet-samples:latest
--------------------------------------------
Freezes / jams here “forever”
--------------------------------------------
DOCKERD --DEBUG command shows:
… (plenty of data before this)
time=“2018-03-01T14:48:38.118426000+02:00” level=debug msg="Registering POST, /plugins/pull"
time=“2018-03-01T14:48:38.121427300+02:00” level=debug msg="Registering POST, /plugins/{name:.}/push"
time=“2018-03-01T14:48:38.123427300+02:00” level=debug msg="Registering POST, /plugins/{name:.}/upgrade"
time=“2018-03-01T14:48:38.124427600+02:00” level=debug msg="Registering POST, /plugins/{name:.}/set"
time=“2018-03-01T14:48:38.154427700+02:00” level=debug msg="Registering POST, /plugins/create"
time=“2018-03-01T14:48:38.167429400+02:00” level=debug msg="Registering GET, /distribution/{name:.}/json"
time=“2018-03-01T14:48:38.169429900+02:00” level=debug msg="Registering GET, /networks"
time=“2018-03-01T14:48:38.170429700+02:00” level=debug msg="Registering GET, /networks/"
time=“2018-03-01T14:48:38.171429500+02:00” level=debug msg="Registering GET, /networks/{id:.+}"
time=“2018-03-01T14:48:38.172429800+02:00” level=debug msg="Registering POST, /networks/create"
time=“2018-03-01T14:48:38.174429800+02:00” level=debug msg="Registering POST, /networks/{id:.}/connect"
time=“2018-03-01T14:48:38.177430200+02:00” level=debug msg="Registering POST, /networks/{id:.}/disconnect"
time=“2018-03-01T14:48:38.178430000+02:00” level=debug msg="Registering POST, /networks/prune"
time=“2018-03-01T14:48:38.179431700+02:00” level=debug msg="Registering DELETE, /networks/{id:.*}"
time=“2018-03-01T14:48:38.181431300+02:00” level=info msg="API listen on //./pipe/docker_engine"
time=“2018-03-01T14:48:38.182429200+02:00” level=debug msg="Config reload - waiting signal at Global\docker-daemon-config-15748"
time=“2018-03-01T14:48:47.788045900+02:00” level=info msg="Processing signal ‘interrupt’"
time=“2018-03-01T14:48:47.789037800+02:00” level=debug msg="start clean shutdown of all containers with a 15 seconds timeout…"
time=“2018-03-01T14:48:47.793039800+02:00” level=debug msg=“Clean shutdown succeeded”
C:\Windows\system32>
dockerd jams at the bolded line listening for API calls or what ever.
Information
Same issue with each thing i try to run. eg.
docker run microsoft/nanoserver
PS C:\docker\DockerEE> docker system info
Containers: 25
Running: 0
Paused: 0
Stopped: 25
Images: 4
Server Version: 17.06.2-ee-6
Storage Driver: windowsfilter
Windows:
Logging Driver: json-file
Plugins:
Volume: local
Network: l2bridge l2tunnel nat null overlay transparent
Log: awslogs etwlogs fluentd json-file logentries splunk syslog
Swarm: inactive
Default Isolation: process
Kernel Version: 10.0 14393 (14393.2007.amd64fre.rs1_release.171231-1800)
Operating System: Windows Server 2016 Standard
OSType: windows
Architecture: x86_64
CPUs: 2
Total Memory: 16GiB
Name: ***
ID: ***
Docker Root Dir: C:\ProgramData\docker
Debug Mode (client): false
Debug Mode (server): false
Username: trimblesystestdocker
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
PS C:\docker\DockerEE> docker version
Client:
Version: 17.06.2-ee-6
API version: 1.30
Go version: go1.8.3
Git commit: e75fdb8
Built: Mon Nov 27 22:46:09 2017
OS/Arch: windows/amd64
Server:
Version: 17.06.2-ee-6
API version: 1.30 (minimum version 1.24)
Go version: go1.8.3
Git commit: e75fdb8
Built: Mon Nov 27 22:55:16 2017
OS/Arch: windows/amd64
Experimental: false
Steps to reproduce the behavior
Reproduced like shown above -> just install docker ee for windows server, restart and type docker run…