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

Unable to perform Docker exec *ID* -it command

I am trying to learn how to perform mount/volume using docker. I tried the following command docker run -it -v C:\temp:C:\temp --name "test" mcr.microsoft.com/windows/servercore:ltsc2019 The container is built and ran. However, i got the following…
csamleong
  • 769
  • 1
  • 11
  • 24
0
votes
2 answers

Installing Microsft Edge in Windows Containers

Context I'm trying to create a selenium-standalone windows container so we can run e2e-tests on Microsoft Edge. To do this I need to install Microsoft Edge in the container. Afaik, Microsoft does not publish Edge in any form. They only pre-package…
Byebye
  • 934
  • 7
  • 24
0
votes
1 answer

Can't mount file on windows container

When i try to mount the config file on docker-compose.yml file: version: '3.4' services: myService: ... volumes: - c:\DOCKER_DATA\myService.config:c:\MyService.exe.config i get: Cannot create container for service myService:…
MiguelSlv
  • 14,067
  • 15
  • 102
  • 169
0
votes
1 answer

debug running windows containers deployed in Azure Kubernetes service

I have a multi node pool cluster setup in Azure Kubernetes service. linux node pool and windows node pool. I also have 2 containers deployed in a single pod on the windows node pool (since the application is built on .net frameowrk ). My containers…
RAnand
  • 89
  • 2
  • 14
0
votes
1 answer

Physical memory limits inside Windows container with process isolation

It seems to be available under Hyper-V isolation mode. Is this possible in process isolation mode? In particular, want to limit under Windows node of Kubernetes. However, physical memory inside the container seems the amount of all memory capacity…
idubnori
  • 997
  • 9
  • 21
0
votes
1 answer

Windows Pods without internet access in Azure Kubernetes Services

I have created a AKS cluster and deployed Windows Containers pods, but for some reason my Windows Containers are not able to access internet. For testing purposes, I deployed a Linux Pod and its able to reach it internet. Is any additional…
glm
  • 2,131
  • 2
  • 13
  • 10
0
votes
0 answers

Running NPM install during Docker build in windows container

I'm trying to run NPM install commands from within my Dockerfile during docker build in a windows container. The problem is that NPM cannot resolve the package registry and as a matter of fact no domain can be resolved because the DNS is not…
PentaKon
  • 4,139
  • 5
  • 43
  • 80
0
votes
2 answers

nodejs using require js fails on windows container but works on windows host

I am using nodejs 11.14.0 (and have tested with other versions too). I have a nodejs script which uses both config.js and require js. The code runs on Windows 10 and most other OS versions of Windows which I need. However, when I try to run the…
ZeroGraviti
  • 1,047
  • 2
  • 12
  • 28
0
votes
1 answer

Docker and hyper-v Issues

I want to configure docker with windows container. So i installed docker and enabled Hyper-v all features. I have also execute this Command : Enable-WindowsOptionalFeature -Online -FeatureName Containers -All Error this coming when i try to…
Partha
  • 402
  • 4
  • 15
0
votes
1 answer

How to achieve persistence with Volumes on Windows Containers?

In our company we are trying to migrate an application to Docker with Windows Containers. The application uses a PostgreSQL database. We are able to get the application running inside the Container. However, whenever we stop the container and start…
0
votes
0 answers

Merging a split file inside a Windows docker container

I am new to Docker so trying to figure something out. At an absolute basic, I am trying to add some split files in a docker container, add and install 7-zip, and merge these split files inside. I managed to do all but the last, which are present in…
user1173240
  • 1,455
  • 2
  • 23
  • 50
0
votes
0 answers

Simple C++ exe std::cout not showing when running within windows container servercore

Some container 101 here please. I can't see messages written to std::cout in the console like i would expect, when it's run in a windows server core container. I've tried the same scenario with a C# console app and it outputs unlike the example…
Daniel Revell
  • 8,338
  • 14
  • 57
  • 95
0
votes
0 answers

How to install .Net framework in windows container

I took mcr.microsoft.com/dotnet/framework/aspnet:3.5 as a base image for my windows container.To my application I want both 4.7 and 3.5 frameworks.I am unable to install 4.7 in my container.Could you please help me.
mohan
  • 1
  • 1
0
votes
1 answer

Accessing windows service hosted in docker

I've got a window service that exposes ports for reasons. I'm getting it to run in a container, but I can't seem to connect to the application outside of the container. I run the container like so: docker run --net=nat -p:8080:8080 [container] In…
Irwin
  • 12,551
  • 11
  • 67
  • 97
0
votes
1 answer

Windows console giving error when run as Container via docker RUN command

I created a Windows console app and in that console app I added Docker Orchestration support using "Docker Compose". When I run it by clicking on Docker Compose, it runs successfully See in below image screenshot it shows I have added Docker file,…
Sujit Singh
  • 752
  • 1
  • 9
  • 23