Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Docker on Windows

Stefan Scherer
February 25, 2016
47

Docker on Windows

Current status of Docker on Windows and Windows Containers.

Try it out yourself:

Azure: https://github.com/StefanScherer/docker-windows-azure

Win10+HyperV: https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/container_setup

Other platforms, eg. with Packer and Vagrant.
https://github.com/StefanScherer/docker-windows-box

Stefan Scherer

February 25, 2016
Tweet

Transcript

  1. Who am I? Software Engineer at SEAL Systems Docker chocolatey

    package maintainer Docker Pirate 5 / 35
  2. What is it? A lightweight virtualization for applications Smaller than

    VM's Just the files needed to run the application 10 / 35
  3. What is it? Why use it? Build - Ship -

    Run Reproducible development environment 13 / 35
  4. What is it? Why use it? Build - Ship -

    Run Reproducible development environment Same container in dev 14 / 35
  5. What is it? Why use it? Build - Ship -

    Run Reproducible development environment Same container in dev, test 15 / 35
  6. What is it? Why use it? Build - Ship -

    Run Reproducible development environment Same container in dev, test and prod 16 / 35
  7. What is it? Why use it? Build - Ship -

    Run Reproducible development environment Same container in dev, test and prod Containers are versioned 17 / 35
  8. What is it? Why use it? How does it work?

    Namespaces File System 19 / 35
  9. What is it? Why use it? How does it work?

    Namespaces File System Process IDs 20 / 35
  10. What is it? Why use it? How does it work?

    Namespaces File System Process IDs Registry 21 / 35
  11. What is it? Why use it? How does it work?

    Namespaces File System Process IDs Registry Networking 22 / 35
  12. Container types Windows Server Containers use same Windows kernel lightweight,

    faster Hyper-V Containers running in Hyper-V better isolation docker run --isolation=hyperv 25 / 35
  13. Base container images Windows Server Core nearly full Win32 compatible

    about 9 GByte Nano Server fast to boot software may need porting about 700 MByte FROM scratch Base images must be preinstalled on Container Host 26 / 35
  14. Swarm Compose Works, but ... Networking is tricky with TP4

    No links Tried net: none Can't wait for TP5! 30 / 35
  15. Swarm Compose Machine Works for Linux Docker Engines No docker-machine

    create -d for TP4 at the moment Discussion in docker/machine#2907 31 / 35
  16. Swarm Compose Machine Registry Works for Windows Containers, serving from

    Linux docker pull from private Registry docker push to private Registry 32 / 35
  17. Try it yourself Azure "Deploy to azure" Local Windows 10

    + Hyper-V Blog post Others packer build vagrant up VirtualBox, VMware 34 / 35