This is a continuation of the previous posts that covered how to setup and run Image2Docker.
Get-Package -Name Docker -ProviderName DockerMsftProvider
Find the current version with
Find-Package -Name Docker -ProviderName DockerMsftProvider
When you’re ready, upgrade with
Install-Package -Name Docker -ProviderName DockerMsftProvider -Update -Force
Start-Service Docker
Sconfig
===============================================================================
Server Configuration
===============================================================================
1) Domain/Workgroup: Workgroup: WORKGROUP
2) Computer Name: WIN-HEFDK4V68M5
3) Add Local Administrator
4) Configure Remote Management Enabled
5) Windows Update Settings: DownloadOnly
6) Download and Install Updates
7) Remote Desktop: Disabled
...
docker build -t img2docker/aspnetwebsites.
$id = docker run -d -p 81:80 img2docker/aspnetwebsites
Here 81 is the host port number and 80 is the container port number.
docker logs $id
The Service ‘W3SVC’ is in the ‘Running’ state.
$ip = docker inspect --format '{{ .NetworkSettings.Networks.nat.IPAddress }}'
$id
start http://$($ip)
That will launch your browser and you’ll see your ASP.NET Web application running in IIS, in Windows Server Core, in a Docker container.
Share this:
CloudIQ is a leading Cloud Consulting and Solutions firm that helps businesses solve today’s problems and plan the enterprise of tomorrow by integrating intelligent cloud solutions. We help you leverage the technologies that make your people more productive, your infrastructure more intelligent, and your business more profitable.
LATEST THINKING
INDIA
Chennai One IT SEZ,
Module No:5-C, Phase ll, 2nd Floor, North Block, Pallavaram-Thoraipakkam 200 ft road, Thoraipakkam, Chennai – 600097
© 2023 CloudIQ Technologies. All rights reserved.
Get in touch
Please contact us using the form below
USA
INDIA