0% found this document useful (0 votes)
15 views

Docker Fundamentals

This document covers Docker fundamentals including containers, images, Docker Hub, installing Docker Desktop, running Docker containers with sample applications, port mapping, tags, commands, removing containers and images, Dockerfile instructions, creating and running .NET applications with Docker, manually creating Dockerfiles, pushing images to Docker Hub and deploying containers to Azure.

Uploaded by

supraja.tangella
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Docker Fundamentals

This document covers Docker fundamentals including containers, images, Docker Hub, installing Docker Desktop, running Docker containers with sample applications, port mapping, tags, commands, removing containers and images, Dockerfile instructions, creating and running .NET applications with Docker, manually creating Dockerfiles, pushing images to Docker Hub and deploying containers to Azure.

Uploaded by

supraja.tangella
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

Docker Fundamentals

dotnetmastery.com
TOPICS COVERED
• Docker Fundamentals (container, images, docker hub)
• Install docker desktop
• Download ‘Hello world’ docker image and run first container
• Run static HTML image in a docker container
• Port mapping in docker
• Working with tags and docker image
• Docker container commands
• Removing docker image and container
• Docker File instructions (FROM,COPY,WORKDIR,ARG,EXPOSE,RUN,ENTRYPOINY,VOLUMES)
• Create .NET application with Docker Support
• Understand default docker file in .NET Application
• Manually create docker file for .NET Application
• Run .NET built image and container on local machine.
• Push local image to docker hub
• Deploy container to azure

dotnetmastery.com
WHAT IS DOCKER?

“Packaging solution to simplify software deployment”

dotnetmastery.com
DOCKER TERMINOLOGY?

• Container
• Images

dotnetmastery.com
DOCKER COMPONENTS?
Virtual Machine Docker
VM 1 VM 2 VM 3

App 1 App 2 App 3 Docker Docker Docker


Container 1 Container 2 Container 3

bins/lib bins/lib bins/lib


App 1 App 2 App 3

Guest OS Guest OS Guest OS bins/lib bins/lib bins/lib

Hypervisor Hypervisor

Host OS Host OS

Infrastructure Infrastructure

dotnetmastery.com
DOCKER IMAGE LAYERS
Add Some Fonts and Styles Image Layer 2
Image Layer 1 to Image layer 1

Tw Fb In

Final Image Add Some more colors


and pictures

dotnetmastery.com
IMAGE AND CONTAINER

Add HTML Files Final


Nginx Image

dotnetmastery.com
IMAGE AND CONTAINER

Add HTML Files Final


Nginx Image

dotnetmastery.com
IMAGE AND CONTAINER

Restore NuGet packages on csproj file


.NET SDK Image 1

Build
NET
File s&.
o py all
C

.NET Publish Final


Image 2
Image

dotnetmastery.com
IMAGE AND CONTAINER

Restore NuGet packages on csproj file


.NET SDK Image 1

Build
NET
File s&.
o py all
C

.NET Publish Final


Image 2
Image

dotnetmastery.com
A New Generation Of
Application
Thank You

You might also like