Containerizing an ASP.Net Core 6.0 Web API with Docker and Visual Studio 2022

preview_player
Показать описание
Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers.
Docker allocates a read-write filesystem to the container, as its final layer.
This allows a running container to create or modify files and directories in its local filesystem.
Docker creates a network interface to connect the container to the default network, since you did not specify any networking options.

Build: docker build -f Dockerfile -t hellow:v1
Run: docker run -it --rm -p 8080:80 hellow:v1

🗣 VISIT MY WEBSITE

#WebAPI #DotNetCoreWebAPI #Docker
Рекомендации по теме
Комментарии
Автор

Bishu mo bhai kemiti achhu, tora sabu video mun dekhe and all are fantastic, mora suggestion tote step by step processs re az-204 video bana, tu already popular achhu ahuri hit habu, mun abhi ku to channel babadare kahili, se bahut khusi hoigala, thanx Bishu Mo bhai

biswajitmishra
Автор

love you dada i saw so many videos but most of them in Linux you did on Windows and using Visual Studio to generate dockerfile which was so easy. Other videos are so complicated. Keep up the great work dada.

chamanchaudhary
Автор

You are great, today i have created new docker images with help of yours..Keep posting:)

bargavavijayakumar
Автор

Ty for the video!
One error that I've noticed is that you've named your project "ContailerApp" with an 'l' instead of "ContainerApp" with an 'n'.
It's not a problem by itself, but the first time you've run "docker build -f ContainerApp/Dockerfile -t ytdocker:v1 ." it failed because the projectname was different. So the order of the options was not the problem.
I've tried it with that order and it worked for me.

brsver
Автор

Mr if i have onion architecture in my project thats cause multi Dockerfile rigth??

nezarsoliman-ls
Автор

Hi, Thank you for demo..I created docker image for .Net 6 web api with swagger..every thing is working but docker image local run not showing swagger UI.Could you please advise for solution

meghanavedpathak
Автор

Great, this video is very helpful. I have created Docker Images. Thanks for your effort.

kumarangajapathy
Автор

Great presentation, on to the point 👍

anishpunnen
Автор

Thanks for the short and sweet video. Keep up the good work!

shauncs
Автор

Great, video. But I am having problems installing Docker Desktop.

Proviper
Автор

VS in light mode yuck. Why didn't you just check Enable Docker when creating the project?

raycarolina
Автор

Greetings from Russia, my Indian bro.
If not secret. Why You switch container OS to windows?
I know: meaning have OS of container and not OS where docker itself deployed, but when I trying to switch container OS to Windows (as You in video) Docker-desktop tell me that I need to turn on some Hyper-V services, I use Hyper-V, but I want test my dev in conditions as much possible close to real deployment, where Host will be in Linux and Container OS must be Linux.

maxborisov
Автор

Hello man, glad to discover your channel.
I am a newbie sql learner with a simple enquiry.
I was playing around visual studio and came across the term class.
When is class created inside a project and what it is all about?
Thanks a lot.

hasanmougharbel
Автор

good work but very hard to understand indian english

MohsenSolhnia