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

Docker service tasks stuck in preparing state after reboot on windows

Restarting a windows server that is a swarm worker, causes windows containers to get stuck in a "Preparing" state indefinitely once the server and docker daemon are back online. Image of tasks/containers stuck in preparing…
2
votes
2 answers

Mounting Azure File Storage on a Windows Docker container

I've got a Windows container that's running in Azure that I'm trying to attach persistent storage to, however, I'm not able to find any documentation on how to do so. Dockerfile: FROM…
devopsidiot
  • 25
  • 1
  • 4
2
votes
0 answers

Make a call with a gMSA account

My system administrator made a gMSA for me to use with my work with containers. I am able to do the simple things with it (like test that it is working correctly). But I cannot figure out how to use it for more than hosting and such. How can I…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
2
votes
0 answers

How to fix "404 Not Found" error when creating a WINDOWS_SAC node pool in a cluster (rapid release)

I'm setting up a cluster on GCP and trying to add a Windows_SAC node pool in it. A "Not found" error was return (code=404). My project was added to the rapid release channel, and this cluster was set up with the --release-channel rapid flag from a…
RTran
  • 21
  • 2
2
votes
2 answers

Running docker inside Docker Windows Container for DevOps Buildagent

Im working with Microsoft Dynamics 365 Business Central. (ERP Software). Im attempting to create build agents on my local server to set up Continious Integration with my projects. On the buildserver i am running Docker Enterprise on Windows…
2
votes
2 answers

Azure container service not creating the agent nodes

I have been working on the deployment of windows container from Azure Container Registry to Azure Container Service with Kubernetes Orchestra it was working fine previously. Now I'm trying to create an acs kubernetes cluster of windows but the…
2
votes
3 answers

Docker container IP address from .net project

This seemingly simple task turns out very difficult. I am trying to get docker container's IP from .net project, in my case using c#. What I have tried so far (This returns docker engine's IP (DockerNAT), not the container's IP): …
swcraft
  • 2,014
  • 3
  • 22
  • 43
2
votes
1 answer

System.UnauthorizedAccessException : Access to the path 'C:\runtime\Secrets\host.json' is denied in Azure Functions Windows container

Based on this Dockerfile I'm running Azure Functions runtime inside a Windows container. I want to bring my own secrets. So I add my own host.json into the runtime\secrets folder and set the storage type to files: host_secret.json: { "masterKey":…
2
votes
2 answers

Windows Containers on windows and linux Kubernetes cluster

I'm kind of new to the Kubernetes world. In my project we are planning to use windows containers(.net full framework) in short term and linux containers(.net core) for the long run. We have a K8 cluster provided by infrastructure team and the…
marvelTracker
  • 4,691
  • 3
  • 37
  • 49
2
votes
1 answer

Windows service on docker does not start

I've created a C# WCF Windows service app in VS 2017 and added Docker Support. The following Dockerfile was created: FROM microsoft/dotnet-framework:4.7.1-windowsservercore-1709 ARG source WORKDIR /app COPY ${source:-obj/Docker/publish} . ENTRYPOINT…
Idan Levi
  • 388
  • 3
  • 18
2
votes
0 answers

How to access containerized asp.net core (docker EE windows container) from outside Windows Server 2016 VM host?

I am new to docker and windows container world. I am creating a sample application using ASP.NET Core 2.0 with SQL Server 2016 Backend. I am able to run the application successfully directly on Windows Server 2016 VM. Next I containerized it using…
jbl
  • 123
  • 7
2
votes
0 answers

How to save changes on the registry outside of the container in Windows Docker?

I am currently investigating a bit in Docker and know that you can map files and folders of the host-system to the container so that after the container got killed, the files are still available (Volumes). So I asked myself, how about changes in the…
Stephan
  • 335
  • 3
  • 12
2
votes
0 answers

Docker system time sync with the windows docker container

I am running an asp.net core application on a windows docker. Simply, application authenticates with Google API to upload & download files. The application works fine on localhost with IIS Express. But on windows docker container it's populating an…
darkfolcer
  • 172
  • 1
  • 3
  • 17
2
votes
1 answer

Deploy ASP.Net Application to Window Server Core Container

I'm having an issue with manually building and running a windows server core container with a legacy asp.net web application. From Visual Studio I can run the container with the auto-generated dockerfile/yml file. I want to do a docker build and…
Tim B
  • 215
  • 1
  • 2
  • 12
2
votes
3 answers

Base Docker image from existing Windows machine

We have a large application with several parts running on a Windows VM and I am trying to evaluate Docker containers for our application deployment. Is it possible to create a base docker image from an existing Windows VM already running my…
coder_andy
  • 376
  • 1
  • 3
  • 17