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
0 answers

Windows container volume for AWS ECS under Fargate

I created a Docker image by extending a Windows Server Core base image and adding an.NET App to it. The resulting container expects a volume to persist data. I'm using AWS ECS, launching it with Fargate. I have a cluster, a task definition, and an…
JosephS
  • 744
  • 5
  • 22
0
votes
1 answer

Transfer Azure batch windows container task output file to batch task working directory fails

I am prototyping an azure batch sample using windows container workload in batch task. This container expects an input file, executes an algorithm and writes an output file st01_demo_results.csv inside the container at path C:\app\output (this…
Mandar
  • 11
  • 2
0
votes
1 answer

How to install Node JS in Docker with a Windows Container dotnet/aspnet:6.0?

Seems like something that should be fairly simple, but since windows containers are using nano and don't have msiexec.exe to install packages with I'm not finding a well established alternative after googling for several hours now. So, how would one…
CoderLee
  • 3,079
  • 3
  • 25
  • 57
0
votes
1 answer

How can I package a windows dependent program into a lightweight docker container?

I currently have a folder containing some .dll files, .bin files and some .exe files. The main .exe that I will be executing only works on windows, and I am not entirely sure what are all its dependencies. My goal is to package all the files in the…
0
votes
1 answer

Getting error when I try to run a docker image on aws fargate windows 2019 full created on Windows 10 20h2

I have Windows Docker Desktop, my os is Windows 10 enterprise , version 20h2 Docker for windows working... i have a small mvc asp.net3.1 application. I create my docker image and i am able to run the container locally. Everything is working from my…
FasoService
  • 133
  • 1
  • 2
  • 18
0
votes
0 answers

Docker Build - run dotnet restore failing with the remote procedure call failed

I have a dotnet framework project that I am trying to build a windows container for the project on my Teamcity server. When ever I run a docker build it fails in the exact same step (RUN dotnet restore) every time both on Powershell and the Teamcity…
Gabe
  • 136
  • 2
  • 11
0
votes
1 answer

Volumes not working with SQL Server Windows Container docker - data persistent

I am new to container. I created one image of sql server for windows container by referring: https://github.com/microsoft/mssql-docker/tree/master/windows/mssql-server-windows-developer I am able to connect to the server. Now I want to persist the…
0
votes
1 answer

Unable to start critical Windows Services in Docker Windows Container

We are trying to modernize a legacy 3rd party application by setting up a Docker Windows Container. We are using windows image: mcr.microsoft.com/windows/server:ltsc2022 for our container. This application needs some of the service to be running,…
0
votes
1 answer

Powershell command to identify whether a process running in windows machine is a docker container process?

I have a process Id in windows Machine, I need to write a Power-shell script to check whether this process is running as docker container or not. Being a newbie ,I am not able to find anything straight forward how to check it.
0
votes
1 answer

Enable Hyper-v inside docker container

I need hyper-v inside a docker container using the image mcr.microsoft.com/windows/servercore:ltsc2019-amd64. When I to enable it by using Install-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart it fails with: Install-WindowsFeature :…
LowRez
  • 125
  • 2
  • 14
0
votes
3 answers

How to install Docker Desktop inside a Windows Server Core based container

Haven't come across any article that says how to setup Docker in Docker for Windows (native, not WSL). Trying to build a Windows Server Core based image but from within a Windows Server Core Container. Is this possible?
Ashik
  • 317
  • 3
  • 12
0
votes
1 answer

Docker build failing- The remote name could not be resolved: 'api.nuget.org'

I am following a pluralsight tutorial- "Developing .NET Framework Apps with Docker" but dockerfile given in one of the demo failing for me. Here is the dockerfile: FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 AS…
0
votes
0 answers

Connect Azure Database through docker windows container

I have a .netframework 4.7.2 application with the azure database. I have created a docker windows container for this application. When I launch this application in the Docker container on my local machine, it gives an error: [Win32Exception…
Anuj
  • 1
  • 1
0
votes
1 answer

How to configure IIS inside Windows Container on AKS

I'm using the .NET Framework (I can't use .NET Core) for a solution that needs to stay alive the entire time it's running. Normally I would configure IIS and keep it active all the time but inside the container I am not able to perform these…
0
votes
1 answer

Mount a shared Azure disk in Azure Kubernetes to multiple windows PODs

I want to attach a shared disk to multiple windows containers on AKS. From post learned that it can be done for Linux containers. I am trying to do the same with windows container but it's failing to mount a shared disk, with below…