Windows Containers and Docker: 101
HTML-код
- Опубликовано: 28 июл 2024
- The basics of using Docker on Windows: what it does, how it works, and why it's such an important technology.
Demos show simple task containers running PowerShell scripts, through to background containers running ASP.NET Core and ASP.NET web apps. Наука
Amazing to see how much ground this has covered within short 20 minutes timeframe. The quality, narrative, dealing with corner cases (that is my favorite ) is superb. Just loved it. Highly recommended.
Concise and simply explained. Great intro!
Love the quality and details of the videos. Keep them coming!
Awesome job Elton! You sold me on Docker. I'm a Systems guy and this helped me out big time.
This is perfect, just what I needed.
Great 101, thank you!
Clear introduction!
Great content 👍. Thanks
Excellent intro!
Good one mate, keep going :)
great job!
I noticed that you said that the Docker image contains an OS. In your illustration you showed the Microsoft Server Core. Let's say you created an application in Windows 7 and you wanted that application to run in Windows 10. Would the Docker image include all of Windows 7 or just the parts of Windows 7 that were needed to run your application?
Hi Elton
I have started learning dockers.
Currently i have stuck with one issue.
Issue: i have to access mutiple containers using single host in windows containers.
Please provide me solution for the above issue.
Kindly do needful.
Note : I have gone through some blogs i got nginx reverse proxy mechanisam might help but its supports only linux containers
Is there a GUI of the container so that I can rdp into it?
Hi Elton,
Thanks for the great tutorial. Could you please help me to understand the way Docker references folders and file structures in Windows?
13mins into this video you have the WORKDIR as C:\\dotnetapp, but its a few levels down in the file structue.
does this mean that where ever the Dockerfile lives it will think it is C:\\??
Sorry i hope this makes sense.
Michael
How to execute/install msi installer on windows core container
Can I run my media server in a docker container?
Elton... Cool dude, "hey, how are you doing?" Lol
Is it possible now in year 2020 to map to localhost on the host in windows all purely via the docker-compose.yaml?
Good video but I have a question. I did docker inspect and run my app with container ip address but it times out. Any have a solution for this.
WOW realy realy good !!
please post a link to your block in the Video Descrition, just so much easyr to click than to type >
Hi Elton
I am using the latest docker 19.03 version, & am trying expose 9090 port to host machine from docker container , application is running but not able to access the app from my host machine due to port number issue, can you please give some idea on how to resolve it
I wanted to do the below steps
1.get the windows core 2016 with iis and .net fx 4.6.1 and the I have our own webapp(msi installer)
Great job!
more more please!
Elton, I have seen you mention, on your blog, that images built for hosting legacy ASP.NET web applications may report an image size of ~9GB but that is the virtual image size and does not account for the shared layers of IIS and ASP.NET. Our infrastructure group is pushing back because they see 10 or 20 9 GB images (one per web app) and don't see the benefit of containerizing our existing web apps. Honestly, its confusing to me too. How can images share their layers if each image is stand alone? can you help explain it to me so I can make a better case?
James Clements - images are layered, and images are read-only so the layers are shared. If you have 20x images using Windows Server Core with ASP.NET you don't have 20x 10GB images. the base 9GB is shared, and the next 0.7GB layer with ASP.NET is shared so only the app layers are different. Actually you have something like (1x 9GB + 1x 0.7GB + 20× 0.3GB) - 16GB physical storage used for all those images. Does that make sense? Elton.
I think I am getting it. if I do a "docker images" I will see my applications images and also ASPNET and NANOSERVER (which are the shared layers). So, the size of my applications' images don't really occupy the space indicated in "docker images" because each image is counting 7.5 GB worth of the shared images. Is that it?
Not quite... Those are different images, but the image is logically built from many physical layers, and the layers are shared. `docker inspect [image-name]` will show you the layers. Also have a look at Winspector by Stefan Scherer - a tool that shows you the actual size of your app layers, minus the shared layer.
Thanks for that clue! I'm sure it will be obvious from there. Again, thank you very much.
Hi Elton, at the frame ruclips.net/video/N7SG2wEyQtM/видео.html you say that Windows 10 and Server 2016 can natively create packages of applications to running them o Docker. I did yet read at your blog how-to-dockerize-windows-applications, section 3, but I haven't quite get how exactly I could pack an installed application, let's say, apache for windows so I can run it on docker. Could you give more details on that please?
how it could happen, when it's spoken about "WINDOWS" dockers, Web technology is depicted only? But how about Windows desktop apps?? Games, multimedia, all that MS GUI-less stuff???
It's a shame just be silent about it.