Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Latest status on Docker on Windows

495 views

Published on

Slides for the talk at the Docker Meetup Bamberg, 2017-07-06

Since Microsoft has released the new Windows Server 2016 in October 2016 its already been 8 months. Let’s take a closer look at what happened since then.

- What is a container
- What is a container image
- Different container isolations, Hyper-V container, Linux container on Windows
- How to build Docker images locally on Windows
- Demo of a mixed Docker swarm in Azure
- Demo of a Kubernetes cluster in Azure
- Image2Docker tool to dockerize traditional Windows apps

Kudos to Taylor Brown from Microsoft for most of the slides, Thanks to Kallie Bracken from Microsoft for the great tutorial videos to run a mixed Docker swarm.

Published in: Engineering
  • Be the first to comment

Latest status on Docker on Windows

  1. 1. How do containers work?
  2. 2. Container Development and Management Toolset Container Runtime
  3. 3. Host User Mode Container Runtime
  4. 4. App Host User Mode Container Runtime
  5. 5. App Host User Mode Container Runtime App
  6. 6. App Host User Mode Container Runtime Hyper-V Isolation Virtual Machine Optimized for Container App
  7. 7. App Host User Mode Container Runtime Hyper-V Isolation Virtual Machine Optimized for Container App Hyper-V Isolation Virtual Machine Optimized for Container App
  8. 8. Host User Mode Container Runtime Hyper-V Isolation Virtual Machine Optimized for Container App Hyper-V Isolation Virtual Machine Optimized for Container App
  9. 9. What is a container image?
  10. 10. Metadata Name, Creation Data, Command To Execute, Dependences Contents
  11. 11. Image Contents License.txt PerfLogs Program Files Program Files (x86) Users Windows HKLM HKCU HKCR HKU
  12. 12. Image Contents License.txt PerfLogs Program Files Program Files (x86) Users Windows HKLM HKCU HKCR HKU Image Contents mysite.html inetpub SOFTWARE/ mykey HKLM
  13. 13. Docker Build and Dockerfiles Examples
  14. 14. https://docs.docker.com/registry https://github.com/docker/distribution
  15. 15. Container Host
  16. 16. License.txt PerfLogs Program Files Program Files (x86) Users Windows ContainerDataContainer Host
  17. 17. License.txt PerfLogs Program Files Program Files (x86) Users Windows ContainerDataContainer Host
  18. 18. License.txt PerfLogs Program Files Program Files (x86) Users Windows ContainerData License.txt PerfLogs Program Files Program Files (x86) Users Windows data Container Host
  19. 19. License.txt PerfLogs Program Files Program Files (x86) Users Windows ContainerData License.txt PerfLogs Program Files Program Files (x86) Users Windows data Container Host
  20. 20. Docker Swarm
  21. 21. Docker in the Enterprise
  22. 22. Lifecycle Docker CE / Docker EE
  23. 23. Beta Support for Windows Server Containers Frictionless deployment experience Integrated web management portal Role Based and LDAP/AD Access Control Self-healing and rolling app deploy/upgrade Image scanning, signing & E2E security
  24. 24. Support for Windows Server Containers and Hyper-V isolation Image deployment and activation Volume driver support Networking and DNS discovery Resource governance
  25. 25. Alpha Support for Windows Server Containers Control plane runs on Linux nodes, Kubelet/kube-proxy run on Windows Network is achieved using L3 routing Only One Container Per Pod https://kubernetes.io/docs/getting-started- guides/windows/
  26. 26. Development Tools
  27. 27. Visual Studio Docker Tools aka.ms/DockerToolsForVS
  28. 28. ConvertTo-Dockerfile ` -RemotePath 192.168.1.5c$ ` -OutputPath c:newDockerFile ` -Artifact IIS # escape=` FROM microsoft/aspnet:windowsservercore-10.0.14393.693 SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] RUN Remove-Website 'Default Web Site'; # Set up website: iis-env RUN New-Item -Path 'C:iisiis-env' -Type Directory -Force; RUN New-Website -Name 'iis-env' -PhysicalPath 'C:iisiis-env' -Port 8090 -Force; EXPOSE 8090 COPY ["iis-env", "/iis/iis-env"]
  29. 29. https://www.powershellgallery.com/packages/Image2Docker/ https://github.com/docker/communitytools-image2docker-win

×