Questions tagged [windows-container]

Windows containers are an operating system-level virtualization method for running multiple isolated Windows systems (containers) on a single control host.

Windows containers are an operating system-level virtualization method for running multiple isolated Windows systems (containers) on a single control host.

https://learn.microsoft.com/en-us/virtualization/windowscontainers/about/index

At runtime windows containers share the windows-kernel of the underlying operating system, which sets them apart from linux-containers. A windows container cannot run on a linux-kernel and vice-versa.

Use this tag for indicating that you are using containers which share a Windows kernel.

Do not use this tag if you are using linux containers on Windows.

352 questions
0
votes
1 answer

Is it possible to use containers to build .NET WPF application in Azure pipelines?

Ours is a .NET WPF application that requires tools like MSBuild and some other custom tools to build (Total is around 10 tools that need to be installed on top of Windows OS). We use Azure Pipelines with VMs as build agents. The problem is that…
0
votes
1 answer

Unable to determine permissions for Windows Container registry edit access

Having issues with a brownfield application (asp .netcore) migrating to a windows container running on mcr.microsoft.com/dotnet/core/aspnet:3.1 accessing the registry. Specifically, I've tried to run the application and make a call and I'm getting…
0
votes
0 answers

Enable TLS 1.2 for .Net 4.5 app in Docker

Can we enable TLS1.2 when we containerize an asp.net app which currently uses .Net framework 4.5 running in windows server 2008? I heard TLS 1.2 is only available from .Net 4.7
isarathg
  • 858
  • 1
  • 19
  • 37
0
votes
1 answer

Visual Studio 2019 - No Attach to Process Type option for Docker (Windows Container)

I have a bunch of containers running .Net Framework Apps on Windows Containers. Apps work great, containers work perfectly. I need to debug some code on one of the containers using VS2019 and according to this article it should be easy…
0
votes
3 answers

Windows Container in Azure and Network

I have an old legacy application listening to some tcp ports and written in visual c++ and strictly bound to run on windows. On Prem the application is running fine within a windows server core container. But now I have to deploy this container to…
0
votes
1 answer

AWS ECS: Will Windows Containers Ever Support AWSVPC Networking Mode?

I don't know if the issue is one of time (i.e. it'll get added eventually) or that the Windows network stack just simply isn't able to support giving a container/task its own ip address - does anyone have any insight on this? From my perspective,…
danrockcoll
  • 173
  • 2
  • 10
0
votes
0 answers

Delete Container in POD deployed in AKS using Kubernetes Client Python

I am using the following code to kill the container in a pod from kubernetes.stream import stream . . . . . . # custom function to read downwardAPI generated metadata file which return ns and pod name …
0
votes
1 answer

Windows Container unable to access internet

Running Windows-based containers I am unable to access the internet from within. Example: From my host machine I can run the following command: PS C:\Developer> nslookup aka.ms Server: cache100.ns.tdc.net Address: …
0
votes
0 answers

Temporary HTTP 403.16 Forbidden Error - IIS

I have an IIS site running in Docker (mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2016) that for the first 5 minutes of it running, I get a 403.16 - Forbidden Error. Then, the site works fine. The relevant lines from my setup…
Ben Stickley
  • 1,551
  • 1
  • 16
  • 22
0
votes
0 answers

The opeartion has timed out -->Unable to resolve name in windows Container

I have a Windows Container running, but it doesn't have outbound excess My dockerfile has base image FROM microsoft/aspnet:3.5-windowsservercore-10.0.14393.1715 //Setting IIS for my application Expose 443 I create container using below…
Thirtha
  • 111
  • 1
  • 2
  • 10
0
votes
1 answer

Configuration Error on Updating Web.config

I would like to update the web.config file by C# in windows container. The following is a function of updating web.config in C# private void UpdateWebConfigFile() { var configuration =…
S. Cheng
  • 13
  • 3
0
votes
0 answers

.NET Framework - Environment Variables return null

I would like to get environment variables from windows container which is ran by docker command but I could not get expected value of the variables. In Dockerfile, I placed one of instructions likes ENV Hello=World In command prompt of windows, it…
0
votes
1 answer

aws esc windows container pseudoTerminal cloudwatch ouput with strange chars

I am running AWS ESC (Windows EC2). The container with -t runs well on my machine. The task definition has pseudoTerminal: true so that it will run -t on Windows EC2. The output logged into CloudWatch log group has strange chars beside the correct…
0
votes
1 answer

asp.net core 2.0 docker file issue in windows

I have made a asp.net core 2.0 web API. Now I want to create a docker image for this API. Here is my docker file content - FROM microsoft/aspnetcore:2.0-nanoserver-1803 AS build-env WORKDIR /app FROM…
0
votes
2 answers

Dockerfile - How can I declare a variable in a Dockerfile that I can use in multiple RUN instructions?

I'm writing a Dockerfile. I want to have a variable that I can pass around to different PowerShell scripts. FROM mcr.microsoft.com/windows/servercore/iis ENV CONT_IMG_VER test RUN echo $CONT_IMG_VER Outputs Step 4/4 : RUN echo $CONT_IMG_VER --->…
JosephS
  • 744
  • 5
  • 22