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

In Docker how do I build for different os versions of windowsservercore

I am trying to build my app with docker but I need to be able to target windowsservercore-ltsc2016 (Windows 2016), windowsservercore-1709 & windowsservercore-1803. The only thing I can think of is a separate dockerfile per architecture but that…
StonesBG
  • 180
  • 5
0
votes
1 answer

Problems on downloads in docker based on windowsservercore (Appveyor, Visual Studio 2017)

I have a small question about file downloads on windowsservercore docker image. I have a small docker image listed here: https://github.com/EndurantDevs/sonarqube-mysql-windows-docker As you can see - there are four similar Docker files: 2 versions…
Nick
  • 225
  • 1
  • 10
0
votes
1 answer

Volume mount into a Windows container

I'm fairly new to Docker, and I am a bit lost on how to do this. I am trying to convert an old Windows service to Docker. It depends on a directory with lots of data to run. I have the solution building and the container being created, but it won't…
Styxtb1598
  • 133
  • 1
  • 5
0
votes
1 answer

nanoserver: "Error: Cannot find module node.exe" in Docker

Trying to run Nodejs on MS Nanoserver Install success, but when I run "node app.js", I get this error dockerfile FROM microsoft/nanoserver ADD https://nodejs.org/dist/v10.4.0/node-v10.4.0-win-x64.zip C:\\build\\node-v10.4.0-win-x64.zip RUN…
I Stand With Russia
  • 6,254
  • 8
  • 39
  • 67
0
votes
1 answer

Can I install MVC 3 into a windows container during the Docker build?

I am attempting to "Lift and Shift" a legacy web service (and the website used to administer it) that was written using MVC 3. I have used the visual studio "add -> docker support" feature and I am getting my website in a container and the website…
0
votes
1 answer

VSTS CLI inside a Docker Windows container

Microsoft has created a container for VSTS CLI. It exists at microsoft/vsts-agent on docker.hub. Unfortunately, it only has a lynx container, so I am trying to build a Windows container for VSTS CLI. This is the Microsoft page that shows how to…
0
votes
0 answers

Can I create a Windows container with Windows 7 inside?

Is it possible to run Windows 7 in a container created on Windows Server 2016? Or generally, which Windows versions are supported inside of Windows containers?
andreasgk
  • 673
  • 1
  • 12
  • 30
0
votes
1 answer

Windows Server containers - container host port not reachable

Randomly or after docker-compose down/up my application is not reachable on the container host ip. I use NAT as docker network and from within the containers I can ping to other containers / internet / reach the ports that should be opened. If I do…
Dresse
  • 473
  • 6
  • 15
0
votes
1 answer

There was an error during CodePackage activation.Container failed to start for image

I have created an image for ASP.net MVC app from 4.7.2-windowsservercore-ltsc2016 When I run the container locally using Docker all works as it should. I have a 5 node Fabric Cluster in Azure set up and when I try to deploy initially I get: Error…
RVid
  • 1,207
  • 1
  • 14
  • 31
0
votes
1 answer

Docker - running exe that show dialog/form from powershell file causing the fault

I have an .exe program that I need to run it in docker at startup. I can run it from powershell of container without any error but not from powershell script file. container name : base exe file name : abc.exe .exe runs without any error and as…
agit
  • 631
  • 5
  • 17
0
votes
1 answer

msdeploy (Web deploy) installation in a container

I try to containerize a third party application running on IIS and Windows server. To do that, they supply to me a powershell script which is using Web deploy 3. My problem is I can't install it, I always have this error code : MSI install return…
switch
  • 460
  • 6
  • 15
0
votes
1 answer

Connect to host system Web API from Windows docker Container

I am running a web API on the host system and it's not exposed on public IP. I want to access from a docker windows container running on the same system. By initial analysis, it seems windows container does not support to access host system from…
vivek jain
  • 291
  • 3
  • 13
0
votes
0 answers

Docker windows container having multiple drives

Can I configure a windows container image to have two local NTFS drives ? I want to test some USN journal functions and I need a local NTFS drive different from the system drive.
crv
  • 1
  • 1
0
votes
1 answer

How to run RabbitMQ linux Docker image using Windows Containers?

Since a Docker for Windows release in October somewhere they added a linux kernel to Windows Containers to run Linux containers side by side with Windows Containers. I'm having a hard time getting it to run. The following is from the changelog of…
Wijnand
  • 1,192
  • 4
  • 16
  • 28
0
votes
1 answer

Unable to access working web app on docker windows container via localhost

I am using Windows 10 ver. 1709 and docker 17.09.1-ce-win42 (using windows containers). I successfully created an image of my ASP.NET app with microsoft/aspnet as base image. In order to create the container, I use the command: docker run -d -p…