- Hands-On Kubernetes on Windows
- Piotr Tylenda
- 132字
- 2021-06-24 16:53:59
Running Windows containers
Now, let's create a process-isolated Windows container with our example web page. In Visual Studio Code, navigate to the Command Palette (Ctrl + Shift + P) and find the Docker: Run command. As the image, choose docker-helloworld-iis. A terminal with the appropriate command will open.
This is the equivalent to performing the docker run command in Powershell, as follows (if port tcp/80 on your host machine is already in use, use any other port that's available):
docker run -d --rm --isolation=process -p 80:80 docker-helloworld-iis
After successfully starting the container, navigate to http://localhost:80/ in a web browser. You should see the following output:
Next, we will be inspecting container logs, which are one of the most useful tools for debugging container issues.
推薦閱讀
- Python快樂編程:人工智能深度學(xué)習(xí)基礎(chǔ)
- 編程卓越之道(卷3):軟件工程化
- C語(yǔ)言程序設(shè)計(jì)實(shí)訓(xùn)教程
- 新手學(xué)Visual C# 2008程序設(shè)計(jì)
- 網(wǎng)站構(gòu)建技術(shù)
- 從Excel到Python:用Python輕松處理Excel數(shù)據(jù)(第2版)
- MySQL從入門到精通(軟件開發(fā)視頻大講堂)
- PHP+MySQL+Dreamweaver動(dòng)態(tài)網(wǎng)站開發(fā)從入門到精通(第3版)
- Python機(jī)器學(xué)習(xí)之金融風(fēng)險(xiǎn)管理
- 汽車人機(jī)交互界面整合設(shè)計(jì)
- Illustrator CS6設(shè)計(jì)與應(yīng)用任務(wù)教程
- SpringBoot從零開始學(xué)(視頻教學(xué)版)
- Arduino電子設(shè)計(jì)實(shí)戰(zhàn)指南:零基礎(chǔ)篇
- 3ds Max 2018從入門到精通
- jBPM6 Developer Guide