Difference between revisions of "Docker"

From HoerupWiki
Jump to: navigation, search
Line 10: Line 10:
 
* [https://hub.docker.com/r/microsoft/aspnet/ asp.net & docker]
 
* [https://hub.docker.com/r/microsoft/aspnet/ asp.net & docker]
  
https://master.dockerproject.org/windows/amd64/docker-1.14.0-dev.zip
 
  
Work-in-progress:
+
You can afterwards upgrade docker to 1.13 by downloading from [https://get.docker.com/builds/Windows/x86_64/docker-1.13.0.zip Docker], and after installation via <code>AddPackage</code> overwrite docker.exe and dockerd.exe with the ones from the zip file. Restart the the vm and check with <code>docker version</code>.
After installing <u>DockerMsftProvider</u> check the available packages with <code>Find-Package -ProviderName DockerMsftProvider -AllVersions | Format-List</code> and if the latest is 1.12.2-cs2-ws-beta then download the package directly from [https://get.docker.com/builds/Windows/x86_64/docker-1.13.0.zip Docker], and after installation via <code>AddPackage</code> overwrite docker.exe and dockerd.exe with the ones from the zip file. Restart the the vm and check with <code>docker version</code>.
+
 
(Problem is that docker 1.12.2 works with core functionality but has issues with port forwarding)
+
 
 +
==Important Note==
 +
Due to [https://blogs.technet.microsoft.com/virtualization/2016/05/25/windows-nat-winnat-capabilities-and-limitations/ this bug ] you cannot access any ports mapped with -p from the windows host itself!
 +
 
 +
 
 +
 
  
 
==Debugging==
 
==Debugging==

Revision as of 14:27, 7 February 2017

XenServer

Windows 2016


You can afterwards upgrade docker to 1.13 by downloading from Docker, and after installation via AddPackage overwrite docker.exe and dockerd.exe with the ones from the zip file. Restart the the vm and check with docker version.


Important Note

Due to this bug you cannot access any ports mapped with -p from the windows host itself!



Debugging

  • Install telnet client dism /online /Enable-Feature /FeatureName:TelnetClient

misc

show container IP

docker inspect -f '{{ .NetworkSettings.IPAddress }}' <containername>