8: Docker on Mac and Windows

  Docker

< 7 Docker Engine, Storage and Networking | 9 Container Orchestration >

40: Docker on Windows

https://www.udemy.com/course/learn-docker/learn/lecture/15828724#content

Docker Toolbox

  • This is really just an easy way of installing a Linux VM on windows.
  • Requires
    • Win 7 or higher
    • 64 Bit
    • Virtualization enabled (this might require a bios setting if available)
  • Oracle Virutalbox
  • Debian
  • Docker Engine
  • Docker machine
  • Docker compose
  • Kitematic GUI

This will still only run LINUX containers

Docker Desktop for Windows

  • Same as above, but uses Windows Hyper-V
  • Windows 10 Pro, Enterprise
    • Only Hyper-V Isolated versions, see below
  • Windows Server 2016

This will run both Linux and Windows containers, but must be explicitly configured to run Windows containers.  (Not default)

Windows Container Options

  • Base Images
    • Use the native Windows kernel
  • Hyper-V Isolation
    • Use a highly specialized version of Windows (Nano Server)

Word to the wise

  • You cannot run both VirtualBox and Hyper-v on the same Windows host.
  • Switching from one to the other will require a migration

 

41: Demo – Docker on Windows

https://www.udemy.com/course/learn-docker/learn/lecture/15829496#content

Install Docker for Windows

42: References

https://www.udemy.com/course/learn-docker/learn/lecture/15829504#content

 

43: Docker On Mac

https://www.udemy.com/course/learn-docker/learn/lecture/15828728#content

Similar to Windows (Whhaat??)

  • Docker Tool Box
    •  Install Virtualbox, a Linux VM, etc.
    • Requires MacOs 10.8 or higher
  • Docker Desktop for Mac
    • Uses HyperKit
    • Debian VM
    • Requires MacOS 10.12 or newer
    • Hardware must be 2010 or newer

These will both only run LINUX containers. There are no Mac containers at time of course.

 

 

 

LEAVE A COMMENT