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

How to communicate between Docker containers

I am new to Docker and containerization methods in general so I may be just thinking about this wrong, but I am trying to setup a PowerShell as a Service type of application where a client can communicate to a powershell shell in 2 ways: A…
Matt Hintzke
  • 7,744
  • 16
  • 55
  • 113
0
votes
0 answers

Bind custom IP to my Docker network's gateway to access containers from host

As far as I know, by default, Docker binds to 127.0.0.1 when running docker compose with the default network settings. To access my containers, I need to map alternate ports to access them through localhost, such as 45001:80 to access my web server…
Frank Rosario
  • 2,512
  • 5
  • 31
  • 47
0
votes
1 answer

Configuring Impersonation for Azure Function Running in an On-Prem Windows Container

I'm running a hello world azure function app with an HTTP trigger in a windows container on-prem (yay!). The question I have now is is it possible to impersonate the user initiating a request from the HTTP trigger? The goal is to allow the function…
0
votes
0 answers

Unable to load dll Docker for either windows or linux

Running dotnetCore 2.2 I have a clr.dll dependency in my .Logic library. This clr.dll calls unmanaged.dll that I cannot load as a dependency and instead have to just copy do the bin like this.
macm
  • 544
  • 7
  • 21
0
votes
1 answer

microsoft/iis - A device attached to the system is not functioning

I am trying to use containers in azure so I provisioned a "Server 2016 - with containers" VM. After doing docker pull microsoft/iis, I start one up like this docker run -it microsoft/iis powershell and execute this command: Test-Connection…
sirdank
  • 3,351
  • 3
  • 25
  • 58
0
votes
1 answer

Windows Server 2016 (kernel native) docker failing to run container twice

I have a problem in a corporate environment I have not seen before. I can run a container once, then subsequent tries fail. If I reboot the host I can again run the container once. > docker run -it microsoft/windowsservercore powershell Windows…
Jules Clements
  • 418
  • 5
  • 8
0
votes
1 answer

Can't find a good docker image for windows version 14393

I am trying to setup a docker image for an mvc5 website to deploy to my service fabric Windows server 2016 with containers based cluster. It seems that every image with IIS configured is based on a different windows build than 14393, and when I…
Josh
  • 1,648
  • 8
  • 27
  • 58
0
votes
2 answers

Service Fabric with windows container error using microsoft/aspnet docker image

I can deploy to my local service fabric cluster and it works fine. When I attempt to deploy it to my azure service fabric cluster it errors out with Error event: SourceId='System.Hosting',…
Josh
  • 1,648
  • 8
  • 27
  • 58
0
votes
1 answer

Windows docker container run in interactive mode, no way to stop container without it being removed, no way to commit container

I am using Windows docker with a Windows container. I am starting a container in interactive mode so that I can run some powershell scripts to enable remote iis management. I've tried to add these scripts to my dockerfile to incorporate them in the…
Josh
  • 1,648
  • 8
  • 27
  • 58
0
votes
2 answers

Will my windows container work on linux worker node in swarm?

Appreciate an expert advise. We have a Docker EE setup on RH Linux platform. Given that we have setup Docker EE as: 2 manager nodes (linux) 2 worker nodes (linux) 2 worker node (windows server) UCP Docker Swarm When I build a windows container to…
rdagumampan
  • 459
  • 4
  • 16
0
votes
0 answers

Unable to run Windows Container on Google Cloud

I am trying to run a Windows container on Google cloud and get this error... C:\Program Files\Docker\docker.exe: failed to register layer: re-exec error: exit status 1: output: ProcessUtilityVMImage…
AQuirky
  • 4,691
  • 2
  • 32
  • 51
0
votes
0 answers

SQL Server service fails to start on Docker Windows container

I'm automating a SQL Server install on a Windows container. Here's my install command: c:\setup.exe /q /ACTION=Install /INSTANCENAME=MSSQLSERVER /FEATURES=SQLEngine /UPDATEENABLED=0 /SQLSVCACCOUNT='NT AUTHORITY\Network Service'…
0
votes
0 answers

Can we use Windows Containers for production

What do you think of Windows Containers in general, because with my team, we are going to use it for a future project? Until now, only Linux containers have been played in combination with ASP.NET Core. Now we want to flush ASP.NET Core onto Windows…
Ivan Ivanov
  • 193
  • 3
  • 12
0
votes
1 answer

Docker Windows container crashes with Azure Service Fabric

I am trying to run a Docker image inside a Service Fabric cluster. This image runs fine on my local machine. However, when I deploy it to either my local cluster or a cluster on Azure Service Fabric, it starts to crash. I tried running the docker ps…
user2873833
  • 263
  • 1
  • 2
  • 6
0
votes
1 answer

Invalid volume specification trying to run portainer container

I'm trying to deploy portainer to my local docker. I'm running the Docker CE 18.0.6.0 version on Windows 10. I tried to follow the steps from these two pages: Portainer-Deployment Tutorial: Portainer for local Docker environments on…
ocuenca
  • 38,548
  • 11
  • 89
  • 102