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
1 answer

Docker for windows - File shares

I want to mount a file share in a windows container. I have tried to mount an Azure File storage share, and intially it works fine. I can browse the files in the directory. However, when I disconnect and reconnect my container powershell-session,…
2
votes
3 answers

Windows Container swarm publish port and not access

I use windows container and try to create docker swarm ,I create three virtual machine use hyper-v , and each OS is windows server 2016.There machines ip is : windocker211 192.168.1.211 windocker212 192.168.1.212 windocker219 …
zhya
  • 53
  • 4
2
votes
1 answer

Cannot connect to remote SQL Server instance from app in container

Pretty new to docker, but I just created an image and it seems to start up fine until it attempts to connect to a remote SQL server. That is, a SQL server that is on it's own VM and is normally accessible via a host (e.g. mydatabase.mydomain.com).…
Sinaesthetic
  • 11,426
  • 28
  • 107
  • 176
2
votes
0 answers

Docker for windows - networking: container with multiple network interfaces

I am trying to attach a container to two subnets, without success. This piece of information reports that cross subnet communication is not currently…
2
votes
3 answers

Dockerizing a Node.js app on microsoft/nanoserver

I am new to Docker. We have a node based REST service and I am trying to create a docker image so that I can easily deploy the service on build agents. I have CD to the folder where we have the package.json of the service and added below docker…
Rasika
  • 312
  • 1
  • 7
  • 19
2
votes
0 answers

Running a Java war file deployed on Tomcat over Windows server 2016 Docker container

Trying to run a Java .war file with Docker on Windows server 2016. With Linux container it can be done by pulling Tomcat image (which is built on top of openJDK and uses Debian as a base image) and adding war file to webapps folder through…
2
votes
2 answers

Docker DNS for Service Discovery to resolve Windows Container´s address by name does not work consistently

Working with Docker Windows Containers I want to go beyond only one Docker container running a App. As described in the Microsoft docs under the headline "Docker Compose and Service Discovery": Built in to Docker is Service Discovery, which handles…
jonashackt
  • 12,022
  • 5
  • 67
  • 124
2
votes
1 answer

Windows docker image build hangs on creating a directory

I'm following the instructions given by Microsoft to create a windows docker image for an ASP.Net application but for some reason it can't get past the mkdir step. Here is the dockerfile: FROM microsoft/aspnet RUN mkdir C:\storefront RUN…
Seth Moore
  • 3,575
  • 2
  • 23
  • 33
2
votes
0 answers

How to Access Windows Container from a Remote Host using Docker command line tool

I try to access Windows Container daemon from a remote host using Docker command line tool with parameter like…
Serge
  • 251
  • 1
  • 8
1
vote
1 answer

How to add D Drive to the windows container

I am trying to containerize a legacy frozen application. It requires D drive to be present else installation fails. I tried following the instructions in this post. Docker build successful but my package installation fails. When I go into…
user9969157
  • 75
  • 4
  • 14
1
vote
2 answers

Encode in windows container?

I have an EXE program for file format conversion. The input file name sometimes contains Chinese or other characters, but I encountered some environment encoding issues during the docker deployment process. The program can run normally on Windows…
wqlu
  • 21
  • 7
1
vote
5 answers

Missing jvm.dll in self-hosted integration runtime Windows Container

I'm spinning up a Windows Container image (provided my MS here) containing the Self-Hosted Integration Runtime to be able to use ADF in a on-premise situation. It ran smoothly until I needed to use Parquet files. When I pointed the output to a…
Andre.Santarosa
  • 1,150
  • 1
  • 9
  • 22
1
vote
0 answers

Compose services with named volume not working with Windows containers

I'm trying to created a named volume in which I can expose files from one Windows container to another. The following docker-compose.yml produces an error 'The request is not supported': version: "3.9" services: nano: image:…
Coding101
  • 527
  • 7
  • 18
1
vote
1 answer

Real location of docker windows container in a windows host?

Question I would like to know the location of the containers when it comes to a Windows environment (both the container and the host), that is, I would like to know where the container data is after the command: `docker run ...` Linux containers…
1
vote
1 answer

Github Action for Windows platform "Windows does not support privileged mode"

I have a Windows, .NET Framework 4.8 microservice which I am attempting to dockerize and deploy through Github Actions. (.NET Framework 4.8 hence windows containers is required due to a hard dependency, so Linux is not an option.) The action is…
Brendan Hill
  • 3,406
  • 4
  • 32
  • 61