Difference between revisions of "Docker"

From HoerupWiki
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
=Windows 2016=
 
=Windows 2016=
 +
* [https://www.simple-talk.com/sysadmin/virtualization/working-windows-containers-docker-basics/]
 
* [https://www.citrix.com/blogs/2016/12/27/using-windows-server-containers-in-windows-server-2016-with-xenserver-7-0/ Server2016 with Xenserver7.0]
 
* [https://www.citrix.com/blogs/2016/12/27/using-windows-server-containers-in-windows-server-2016-with-xenserver-7-0/ Server2016 with Xenserver7.0]
 
* [https://docs.microsoft.com/en-us/virtualization/windowscontainers/quick-start/quick-start-windows-server Quickstart Windows Server]
 
* [https://docs.microsoft.com/en-us/virtualization/windowscontainers/quick-start/quick-start-windows-server Quickstart Windows Server]
 
* [https://hub.docker.com/r/microsoft/aspnet/ asp.net & docker]
 
* [https://hub.docker.com/r/microsoft/aspnet/ asp.net & docker]
 +
 +
 +
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>.
 +
 +
 +
==Important Note==
 +
Due to [https://blogs.technet.microsoft.com/virtualization/2016/05/25/windows-nat-winnat-capabilities-and-limitations/ limitations in windows nat ] you can <b>not</b> access any ports mapped with -p from the windows host itself!
 +
 +
 +
 +
 +
==Debugging==
 +
* Install telnet client <code>dism /online /Enable-Feature /FeatureName:TelnetClient</code>
  
 
=misc=
 
=misc=
 
show container IP
 
show container IP
 
  docker inspect -f '&#123;&#123; .NetworkSettings.IPAddress }}' &lt;containername&gt;
 
  docker inspect -f '&#123;&#123; .NetworkSettings.IPAddress }}' &lt;containername&gt;

Latest revision as of 14:34, 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 limitations in windows nat you can not 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>