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

App service windows container start error

I've an asp.net core app that I want to run as windows container inside Azure app service. The app uses PowerShell 5.1 and I'm not using mcr.microsoft.com/dotnet/aspnet:6.0, but building it as self contained. Snippets of the docker file are: FROM…
pevgeniev
  • 389
  • 2
  • 13
0
votes
1 answer

Unable to print using PrintDocument class from a Windows Docker Container using .NET 6

I am trying to print from a Windows Docker Container where I have a .NET 6 ASP.NET Api hosted. Here is my code: private readonly PrintDocument _document; // Some code here public async Task PrintAsync(PrintInput input) { // Some code here …
Flavio Francisco
  • 755
  • 1
  • 8
  • 21
0
votes
2 answers

Unable to reach my application from outside Docker container but everything works inside the container

I'm trying to run Rhino Compute in a docker container and facing a weird issue. I had built an image using the Dockerfile below and when I run it locally, there are no issues. # escape=` # see https://discourse.mcneel.com/t/docker-support/89322 for…
0
votes
1 answer

USB serial COM port access for IoT Edge ERROR

I am trying to read from a modbus comport inside a docker IoT Edge module. I have supplied the relevant createOptions: { "HostConfig": { "Isolation": "Process", "Devices": [ { "PathOnHost":…
Jerry
  • 11
0
votes
0 answers

Run .NET container on Windows Server 2022

Both host and container cmd /c ver return 10.0.20348.230 but still Kubernetes complains that The container operating system does not match the host operating system. Any ideas? apiVersion: v1 kind: Pod metadata: name: aspnet-test spec: …
Jan Zahradník
  • 2,417
  • 2
  • 33
  • 44
0
votes
1 answer

Installed WDK Version from windows command line

How do I find out the installed WDK version on my windows machine via the windows command line? I can find it through Visual studio and "Control Panel -> Installed Softwares" on my local machine but I'm trying to check this on a container and only…
Jose
  • 1,333
  • 5
  • 20
  • 38
0
votes
1 answer

Start Process within Windows Container as a domain user

I have a Windows 2019 container started with a valid CredentialSpec from a valid working gMSA account. It currently hosts a .NET 4.x application on IIS with Windows Authentication working just great. I can also execute nltest commands successfully…
Antebios
  • 1,681
  • 1
  • 13
  • 22
0
votes
1 answer

In Windows Version 10.0.18363 Cannot Switch to Windows container in Docker

Context: -Windows version: 10.0.18363 Build 18263 -Docker Information: Cloud integration: 1.0.17 Version: 20.10.8 API version: 1.41 Go version: go1.16.6 Git commit: 3967b7d Built: Fri Jul 30 19:58:50…
windowsqs
  • 1
  • 1
0
votes
0 answers

Failed to install core powershell module with no errors outputted

I'm trying to change the permissions in a windows docker container to give admin access in the dockerfile so it can run some powershell scripts. In order to do this I'm using some commands found in the microsoft.powershell.localaccounts core module…
0
votes
1 answer

Run exe in windows container using python

I am working on executing an exe file (notepad.exe) inside windows container using python. I have copied these in my container: exe file dockerfile that calls python script python script that runs exe When I build and run these, Its not showing any…
Anna Sam
  • 5
  • 2
0
votes
1 answer

Mounting volumes from linux container to windows container

I have docker on windows running a Windows container but also running Linux container. I'm having a problem mounting volumes from Linux container to Windows container. Given the sample below. services: postgres: platform: linux …
rpmansion
  • 1,964
  • 1
  • 9
  • 26
0
votes
0 answers

How to install softwares and libraries inside windows based docker containers?

I am trying to install sluethkit on my windows based conatiner but I am not able to do it. In ubuntu based docker image I was doing it by running apt-get sluethkit , what is the way to do it in windows based conatiner I am using, This is my docker…
0
votes
1 answer

How to establish connection between Web & Database (windows base) docker container , running through docker-compose file?

Docker engine is running on AWS windows server 2016 Here is docker-compose.yml file version: '3' services: controllerdb: hostname: controllerdb image: restart: always web: …
0
votes
1 answer

Error running windows containers on windows 2019 server

In windows 2019 server, I have successfully installed Docker (Server Version: 19.03.14) and the windows service is up and running. I am working with windows containers, I have written very basic dockerfile as below to display echo message. FROM…
Pavan
  • 1
0
votes
1 answer

System.DllNotFoundException Unable to load DLL 'gdiplus.dll' error in a Windows container

We are running a .Net core console application on a windows container with Kubernetes (Amazon EKS). The host OS is Windows Sever 2016. Getting the below error when a excel file is generated by Aspose.Cells. System.TypeInitializationException: The…
Baga
  • 1,354
  • 13
  • 24