SlideShare a Scribd company logo
Docker Editions
• Learn about the various (dozen+) Editions of Docker
• Learn which to use for this course
• Learn Docker CE vs. EE
• Learn Stable vs. Edge releases
Docker Editions at store.docker.com
• Docker is no longer just a "container runtime"
• Docker moves fast, it matters how you install it
• Linux (different per distro, don’t use default package)
• Docker Desktop (Recommended for Windows and Mac)
• Docker Toolbox (Legacy for Win10 Home/Win7/Win8)
Community vs. Enterprise
• Docker Community (free) vs. Docker Enterprise (paid)
• Old Name "EE" = Enterprise Edition (same thing)
• Windows Server 2016 comes with Enterprise Basic
• Linux servers are a target for Enterprise
• Enterprise also gets you GUI apps like DTR and UCP
• Developers and Sysadmins use Community locally
Stable vs. Edge
• Edge (beta) released monthly, Stable quarterly
• Edge gets new features first, but only supported for a month
• Stable rolls in three months of Edge features, EE supported
longer
Docker on Windows
• Learn the two types of containers Windows can run
• Learn which Docker Edition to install on your Windows version
• Learn differences between Windows 10 and Windows Server
2016
Docker on Windows Overview
• Two Types of Containers: Linux Containers and Windows
Containers
• Linux Containers still default, when I say "containers" I mean
Linux
• Best experience: Docker for Windows, but Win10 Pro/Ent only
• Win7/8/8.1 or Win10 Home should use Docker Toolbox
• Windows Server 2016 also supports Windows Containers
• Getting better all the time
• e.g. Native Linux containers coming soon
Docker on Windows 10 Pro/Ent
• Use Docker for Windows, from store.docker.com
• More features then just a Linux VM
• Uses Hyper-V with tiny Linux VM for Linux Containers
• PowerShell native
Docker for Mac
• Use Docker for Mac, from store.docker.com
• More features then just a Linux VM
• Uses "xhyve" with tiny Linux VM for Linux Containers
• Terminal/iTerm native
• PowerShell native
Docker on Windows 7/8 and 10 Home
• Use Docker Toolbox, not as fancy as Docker for Windows
• Like others, download at store.docker.com
• Runs a tiny Linux VM in VirtualBox via docker-machine
• Uses a bash shell to make it more like Linux/Mac options
• Does not support Windows Containers
• Must put all your code in C:Users<your-username>
Docker on Windows Server 2016
• Windows Server 2016 supports native Windows Containers
• ”Docker for Windows” runs on Win 2016 but not required
• Only do this for when you run Win 2016 locally for dev/test. NOT for
prod
• No options for previous Windows Server versions
• Hyper-V can still run Linux VM's (that can run Docker) just fine
Docker for Windows: Setup
• Install Docker
• Tweak Docker for Windows settings
• Clone my GitHub repo
• Get a code editor
• Tweak your terminal and shell (optional)
Docker for Windows Tips
• PowerShell Command Completion: posh-docker
• https://docs.docker.com/docker-for-windows/#set-up-tab-completion-in-powershell
• Code paths enabled for Bind Mounts (C:Users by default)
• Bind Mounts work for code (but often not databases)
• Backup option: use docker-machine create --driver hyperv
• https://docs.docker.com/machine/drivers/hyper-v/
• Great Dockerfile/Compose file editor: Visual Studio Code
• https://code.visualstudio.com/
• Great Terminal UI replacement: cmder
• http://cmder.net/
• Great info and troubleshooting/FAQ
• https://docs.docker.com/docker-for-windows/
Docker Toolbox on Windows: Setup
• Install Docker
• Clone my GitHub repo
• Start the Docker Quickstart Terminal
• Tweak Docker VM settings
• Get a code editor
• Tweak your terminal and shell (optional)
Docker Toolbox on Windows: Tips
• Use the Docker Quickstart Terminal to start with
• In background it auto-creates and auto-starts VM
• Defaults to bash shell
• Code paths enabled for Bind Mounts work in C:Users only
• Bind Mounts work for code (but often not databases)
• Re-create Linux VM or create more with docker-machine
• Great Dockerfile/Compose file editor: Visual Studio Code
• https://code.visualstudio.com/
• Great Terminal UI replacement: cmder
• http://cmder.net/
Docker on macOS Overview
• Docker for Mac
• Requires Yosemite 10.10.3 (2014 release)
• Yosemite works with 2007-2008 Mac's and newer
• Docker Toolbox
• For Snow Leopard, Lion, Mountain Lion (10.6-10.8)
• Docker in a Linux VM
• Docker in a Windows VM
• Not usually possible, only works with Vmware Fusion
• Don't use homebrew (brew install docker), it's docker CLI only
Docker for Mac: Setup
• Install Docker
• Tweak Docker for Mac settings
• Clone my GitHub repo
• Get a code editor
• Tweak your terminal and shell (optional)
Docker for Mac Tips
• Bash Command Completion
• https://docs.docker.com/docker-for-mac/#installing-bash-completion
• Code paths enabled for Bind Mounts (/Users by default)
• Bind Mounts work for code and (usually) databases
• Run more nodes: docker-machine create --driver
• Fusion, VirtualBox, Parallels, etc. https://docs.docker.com/machine/drivers/
• Great Dockerfile/Compose file editor: Visual Studio Code
• https://code.visualstudio.com/
• Great Terminal replacement: iTerm2
• https://www.iterm2.com/
• Great info and troubleshooting/FAQ
• https://docs.docker.com/docker-for-mac/
• My Shell Setup (iTerm2 + oh-my-zsh + much more)
• http://www.bretfisher.com/shell
Docker on Linux
• Easiest install/setup, best native experience
• Three main ways to install: script, store, or docker-machine
• get.docker.com script (latest Edge release)
• curl -sSL https://get.docker.com/ | sh
• store.docker.com has instructions for each distro
• RHEL officially only supports Docker EE (paid), but CentOS will work
• Installing in a VM, Cloud Instance, all are the same process
• May not work for unlisted distros (Amazon Linux, Linode Linux, etc.)
• Don't use pre-installed setups (Digital Ocean, Linode, etc.)
Docker for Linux: Setup
• Install Docker
• Add your user to docker group
• Clone my GitHub repo
• Get a code editor
• Tweak your terminal and shell (optional)
Docker for Linux Tips
• After installing Docker, also get docker-compose and docker-
machine
• https://docs.docker.com/machine/install-machine/
• https://docs.docker.com/compose/install/
• Run more nodes: docker-machine create --driver
• VirtualBox, AWS, etc. https://docs.docker.com/machine/drivers/
• Great Dockerfile/Compose file editor: Visual Studio Code
• https://code.visualstudio.com/
• Bash command completion just works

More Related Content

PDF
Using Docker to build and test in your laptop and Jenkins
PDF
Docker fundamentals
PPTX
Docker: Introduction to Container Moduls
PDF
ExpoQA 2017 Using docker to build and test in your laptop and Jenkins
PDF
Docker Dhahran Nov 2016 meetup
PDF
Docker 1 0 1 0 1: a Docker introduction, actualized for the stable release of...
PDF
Testing fácil con Docker: Gestiona dependencias y unifica entornos
PDF
Introduction to Docker and deployment and Azure
Using Docker to build and test in your laptop and Jenkins
Docker fundamentals
Docker: Introduction to Container Moduls
ExpoQA 2017 Using docker to build and test in your laptop and Jenkins
Docker Dhahran Nov 2016 meetup
Docker 1 0 1 0 1: a Docker introduction, actualized for the stable release of...
Testing fácil con Docker: Gestiona dependencias y unifica entornos
Introduction to Docker and deployment and Azure

Similar to how to setup Docker in a Windows, Linux or Mac.pdf (20)

PPTX
Docker Starter Pack
PDF
Introduction to Docker at the Azure Meet-up in New York
DOCX
Run Docker On Windows Using Vagrant
PDF
Docker slides
PDF
Docker Concepts for Oracle/MySQL DBAs and DevOps
PDF
Agile Brown Bag - Vagrant & Docker: Introduction
PPTX
Настройка окружения для кросскомпиляции проектов на основе docker'a
PDF
Docker by Example - Basics
PDF
Introduction to Docker at Glidewell Laboratories in Orange County
PDF
Docker in real life
PPTX
Introduction To Docker
PDF
Docker Introduction + what is new in 0.9
PDF
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQ
PDF
Intro to Docker
PDF
Workshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
PDF
Introduction to Docker, December 2014 "Tour de France" Edition
PDF
The Docker Ecosystem
PDF
Why everyone is excited about Docker (and you should too...) - Carlo Bonamic...
PDF
Docker module 1
PPTX
Docker 101 - Nov 2016
Docker Starter Pack
Introduction to Docker at the Azure Meet-up in New York
Run Docker On Windows Using Vagrant
Docker slides
Docker Concepts for Oracle/MySQL DBAs and DevOps
Agile Brown Bag - Vagrant & Docker: Introduction
Настройка окружения для кросскомпиляции проектов на основе docker'a
Docker by Example - Basics
Introduction to Docker at Glidewell Laboratories in Orange County
Docker in real life
Introduction To Docker
Docker Introduction + what is new in 0.9
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQ
Intro to Docker
Workshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
Introduction to Docker, December 2014 "Tour de France" Edition
The Docker Ecosystem
Why everyone is excited about Docker (and you should too...) - Carlo Bonamic...
Docker module 1
Docker 101 - Nov 2016
Ad

Recently uploaded (20)

PDF
PPT on Performance Review to get promotions
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
Welding lecture in detail for understanding
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PDF
Structs to JSON How Go Powers REST APIs.pdf
PPTX
Construction Project Organization Group 2.pptx
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPT
Mechanical Engineering MATERIALS Selection
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Sustainable Sites - Green Building Construction
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPT on Performance Review to get promotions
Embodied AI: Ushering in the Next Era of Intelligent Systems
Foundation to blockchain - A guide to Blockchain Tech
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Welding lecture in detail for understanding
Lesson 3_Tessellation.pptx finite Mathematics
Structs to JSON How Go Powers REST APIs.pdf
Construction Project Organization Group 2.pptx
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Internet of Things (IOT) - A guide to understanding
Operating System & Kernel Study Guide-1 - converted.pdf
Mechanical Engineering MATERIALS Selection
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Sustainable Sites - Green Building Construction
Strings in CPP - Strings in C++ are sequences of characters used to store and...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Ad

how to setup Docker in a Windows, Linux or Mac.pdf

  • 1. Docker Editions • Learn about the various (dozen+) Editions of Docker • Learn which to use for this course • Learn Docker CE vs. EE • Learn Stable vs. Edge releases
  • 2. Docker Editions at store.docker.com • Docker is no longer just a "container runtime" • Docker moves fast, it matters how you install it • Linux (different per distro, don’t use default package) • Docker Desktop (Recommended for Windows and Mac) • Docker Toolbox (Legacy for Win10 Home/Win7/Win8)
  • 3. Community vs. Enterprise • Docker Community (free) vs. Docker Enterprise (paid) • Old Name "EE" = Enterprise Edition (same thing) • Windows Server 2016 comes with Enterprise Basic • Linux servers are a target for Enterprise • Enterprise also gets you GUI apps like DTR and UCP • Developers and Sysadmins use Community locally
  • 4. Stable vs. Edge • Edge (beta) released monthly, Stable quarterly • Edge gets new features first, but only supported for a month • Stable rolls in three months of Edge features, EE supported longer
  • 5. Docker on Windows • Learn the two types of containers Windows can run • Learn which Docker Edition to install on your Windows version • Learn differences between Windows 10 and Windows Server 2016
  • 6. Docker on Windows Overview • Two Types of Containers: Linux Containers and Windows Containers • Linux Containers still default, when I say "containers" I mean Linux • Best experience: Docker for Windows, but Win10 Pro/Ent only • Win7/8/8.1 or Win10 Home should use Docker Toolbox • Windows Server 2016 also supports Windows Containers • Getting better all the time • e.g. Native Linux containers coming soon
  • 7. Docker on Windows 10 Pro/Ent • Use Docker for Windows, from store.docker.com • More features then just a Linux VM • Uses Hyper-V with tiny Linux VM for Linux Containers • PowerShell native
  • 8. Docker for Mac • Use Docker for Mac, from store.docker.com • More features then just a Linux VM • Uses "xhyve" with tiny Linux VM for Linux Containers • Terminal/iTerm native • PowerShell native
  • 9. Docker on Windows 7/8 and 10 Home • Use Docker Toolbox, not as fancy as Docker for Windows • Like others, download at store.docker.com • Runs a tiny Linux VM in VirtualBox via docker-machine • Uses a bash shell to make it more like Linux/Mac options • Does not support Windows Containers • Must put all your code in C:Users<your-username>
  • 10. Docker on Windows Server 2016 • Windows Server 2016 supports native Windows Containers • ”Docker for Windows” runs on Win 2016 but not required • Only do this for when you run Win 2016 locally for dev/test. NOT for prod • No options for previous Windows Server versions • Hyper-V can still run Linux VM's (that can run Docker) just fine
  • 11. Docker for Windows: Setup • Install Docker • Tweak Docker for Windows settings • Clone my GitHub repo • Get a code editor • Tweak your terminal and shell (optional)
  • 12. Docker for Windows Tips • PowerShell Command Completion: posh-docker • https://docs.docker.com/docker-for-windows/#set-up-tab-completion-in-powershell • Code paths enabled for Bind Mounts (C:Users by default) • Bind Mounts work for code (but often not databases) • Backup option: use docker-machine create --driver hyperv • https://docs.docker.com/machine/drivers/hyper-v/ • Great Dockerfile/Compose file editor: Visual Studio Code • https://code.visualstudio.com/ • Great Terminal UI replacement: cmder • http://cmder.net/ • Great info and troubleshooting/FAQ • https://docs.docker.com/docker-for-windows/
  • 13. Docker Toolbox on Windows: Setup • Install Docker • Clone my GitHub repo • Start the Docker Quickstart Terminal • Tweak Docker VM settings • Get a code editor • Tweak your terminal and shell (optional)
  • 14. Docker Toolbox on Windows: Tips • Use the Docker Quickstart Terminal to start with • In background it auto-creates and auto-starts VM • Defaults to bash shell • Code paths enabled for Bind Mounts work in C:Users only • Bind Mounts work for code (but often not databases) • Re-create Linux VM or create more with docker-machine • Great Dockerfile/Compose file editor: Visual Studio Code • https://code.visualstudio.com/ • Great Terminal UI replacement: cmder • http://cmder.net/
  • 15. Docker on macOS Overview • Docker for Mac • Requires Yosemite 10.10.3 (2014 release) • Yosemite works with 2007-2008 Mac's and newer • Docker Toolbox • For Snow Leopard, Lion, Mountain Lion (10.6-10.8) • Docker in a Linux VM • Docker in a Windows VM • Not usually possible, only works with Vmware Fusion • Don't use homebrew (brew install docker), it's docker CLI only
  • 16. Docker for Mac: Setup • Install Docker • Tweak Docker for Mac settings • Clone my GitHub repo • Get a code editor • Tweak your terminal and shell (optional)
  • 17. Docker for Mac Tips • Bash Command Completion • https://docs.docker.com/docker-for-mac/#installing-bash-completion • Code paths enabled for Bind Mounts (/Users by default) • Bind Mounts work for code and (usually) databases • Run more nodes: docker-machine create --driver • Fusion, VirtualBox, Parallels, etc. https://docs.docker.com/machine/drivers/ • Great Dockerfile/Compose file editor: Visual Studio Code • https://code.visualstudio.com/ • Great Terminal replacement: iTerm2 • https://www.iterm2.com/ • Great info and troubleshooting/FAQ • https://docs.docker.com/docker-for-mac/ • My Shell Setup (iTerm2 + oh-my-zsh + much more) • http://www.bretfisher.com/shell
  • 18. Docker on Linux • Easiest install/setup, best native experience • Three main ways to install: script, store, or docker-machine • get.docker.com script (latest Edge release) • curl -sSL https://get.docker.com/ | sh • store.docker.com has instructions for each distro • RHEL officially only supports Docker EE (paid), but CentOS will work • Installing in a VM, Cloud Instance, all are the same process • May not work for unlisted distros (Amazon Linux, Linode Linux, etc.) • Don't use pre-installed setups (Digital Ocean, Linode, etc.)
  • 19. Docker for Linux: Setup • Install Docker • Add your user to docker group • Clone my GitHub repo • Get a code editor • Tweak your terminal and shell (optional)
  • 20. Docker for Linux Tips • After installing Docker, also get docker-compose and docker- machine • https://docs.docker.com/machine/install-machine/ • https://docs.docker.com/compose/install/ • Run more nodes: docker-machine create --driver • VirtualBox, AWS, etc. https://docs.docker.com/machine/drivers/ • Great Dockerfile/Compose file editor: Visual Studio Code • https://code.visualstudio.com/ • Bash command completion just works