Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
The busy developer guide to Docker
1. The busy developers guide to Docker
Maurice de Beijer - @mauricedb
ROME 24-25 MARCH 2017
2. Who am I?
• Maurice de Beijer
• The Problem Solver
• Microsoft Azure MVP
• Freelance developer/instructor
• Twitter: @mauricedb and @React_Tutorial
• Web: http://www.TheProblemSolver.nl
• E-mail: maurice.de.beijer@gmail.com
2
3. Overview
• What are containers
• Why use container technology?
• What is Docker
• Creating and running Docker images
• Hosting a Docker image on Azure
3
14. Why use Docker?
• Package an application with it’s dependencies
• Dev environment behaves exactly like production
• Less overhead means more deployments on a server
• Deploy the same container in different clouds
• Not just for cloud computing
• Docker has standardized container formats
• It’s open source
14
15. Some other Docker Use Cases
• Simulate deployed environment during
development
– Each container simulates a machine
• Share containers between developers
– Database containers with sample data
• Also use in the (automated) QA environment
– Build containers with compilers and libraries
• Also use in the CI environment
15
Containers are based on Linux namespaces and cgroups
Namespaces create separation
The root can see everything
Containers can only see things in their own namespace
Existed before Docker
Docker just makes things easier
https://www.flickr.com/photos/prettybipolar/6938332165/
Contains many ready to use images
Upload your own
A Docker file to create an image with NodeJS
https://www.flickr.com/photos/nyuhuhuu/4443886636/
Creating a Docker container with a CoreCLR application
Creating a Docker container with a CoreCLR application
Creating a Docker container with a CoreCLR application
Creating a Docker container with a CoreCLR application
Windows Server Containers
Very much like the Linux Docker containers
Available on site or in Azure
Hyper-V Container
More like a virtual machine then a traditional container
Only available on site
https://www.flickr.com/photos/schmollmolch/9816042533/