Docker for .net developer, Container, Hyper-V, Docker Tool for VS, Windows Container, Images, Layer, Docker architecture, What is Docker, Docker Engine
2. ABOUT ME
QuanTruong Anh
Current:
R&DSpecialist – R&D Department
IT Center –Vietcombank
Previous:
ProjectTech Lead – FPT Software
Community I joined
AgileVietnam
Docker-Hanoi
Ha Noi .NETGroup
Contact:
Facebook: /quanta.vn
Email: quan.truong.anh@gmail.com
3. AGENDA
What is Docker
Docker Benefits for Developers
Docker onWindows
Docker for ASP.NET Developers
6. WHAT IS DOCKER…
Docker Engine
https://docs.docker.com/engine/understanding-docker/
is a client-server application
with these major components:
A server which is a type of long-running
program called a daemon process.
A REST API which specifies interfaces
that programs can use to talk to the
daemon and instruct it what to do.
A command line interface (CLI) client.
7. WHAT IS DOCKER…
Docker’s architecture When you run a container
$ docker run -i -t ubuntu /bin/bash
Docker Engine does the following:
Pulls the ubuntu image
Creates a new container
Allocates a filesystem and mounts a
read-write layer
Allocates a network / bridge interface
Sets up an IP address
Executes a process that you specify
Captures and provides application
output
8. WHAT IS DOCKER…
Docker’s architecture When you run a container
$ docker run -i -t ubuntu /bin/bash
Docker Engine does the following:
Pulls the ubuntu image
Creates a new container
Allocates a filesystem and mounts a
read-write layer
Allocates a network / bridge interface
Sets up an IP address
Executes a process that you specify
Captures and provides application
output
9. WHAT IS DOCKER…
Images and layers
Each Docker image references a list of
read-only layers that represent
filesystem differences.
Layers are stacked on top of each
other to form a base for a container’s
root filesystem.
15. WHAT IS DOCKER…
Data volumes and the storage driver
When a container is deleted, any data
written to the container that is not
stored in a data volume is deleted
along with the container.
A data volume is a directory or file in
the Docker host’s filesystem that is
mounted directly into a container.
Reads and writes to data volumes
bypass the storage driver and operate
at native host speeds.
16. DOCKER BENEFITS FOR DEVELOPERS
Write once, deploy anywhere
Docker is a platform for
developers and sysadmins to
develop, ship, and run
applications.
Docker lets you quickly assemble
applications from components
and eliminates the friction that
can come when shipping code.
Docker lets you get your code
tested and deployed into
production as fast as possible.
17. DOCKER BENEFITS FOR DEVELOPERS
AGILITY
Developers have the freedom to define environments, and the ability to create and deploy apps faster and easier.
CONTROL
Developers own all the code from infrastructure to app.
PORTABILITY
Docker gives you choice without complexity, from a laptop to a team, to private infrastructure and public cloud providers.
CI/CD
Enable developers to develop and test applications more quickly and within any environment
20. WINDOWS CONTAINERS
Windows Server Containers
https://aka.ms/containers
HostOperating System Windows Server container Hyper-V container
Windows Server 2016 Full UI Server Core image Nano Server image
Windows Server 2016 Core Server Core image Nano Server image
Windows Server 2016 Nano Nano Server image Nano Server image
Windows 10 Insider Releases Not Available Nano Server image