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

Docker - Windows Container - Install DotNet Framework 472

I am trying to setup a Windows Docker image with .net framework 4.7.2. For other reasons, I am starting from microsoft/windowsservercore What I tried so far - I have choco installed on my image, so my initial solution was to use choco…
silverb77
  • 279
  • 5
  • 16
4
votes
1 answer

Install Kafka docker image on windows 10 (in Windows Container mode)

I am trying to install Kafka docker image on windows 10, but it is always saying "image operating system "linux" cannot be used on this platform". Note: I am in "Windows container mode". Although, if I change the docker setting "Switch to Linux…
4
votes
1 answer

Dockerfile ~ Correct Syntax for Adding Windows Folders

I am trying to create a Dockerfile that adds a folder that I have somewhere on the my local windows filesystem to a windows container. However, I have trouble figuring out the correct syntax. Specifically, I am trying to copy the contents of the…
Kira Resari
  • 1,718
  • 4
  • 19
  • 50
4
votes
1 answer

How to dockerize React App on Windows Containers

I have a React app that I would like to Dockerize for Windows containers. this my Dockerfile: FROM stefanscherer/node-windows # Override the base log level (info). ENV NPM_CONFIG_LOGLEVEL warn # Expose port for service EXPOSE 80 # Install and…
4
votes
0 answers

.net core + Docker: The remote certificate is invalid according to the validation procedure

What is the correct way for multiple Windows containers running a .net core application to trust each other's HTTPS certificates? I have the following setup: Container A is running a REST service which is required by Container B Container B calls…
Alex
  • 1,857
  • 3
  • 36
  • 51
4
votes
1 answer

Docker with Windows container support wcf on tcp services

I have a simple test wcf service with net.tcp binding with this config :
Patrice Cote
  • 3,572
  • 12
  • 43
  • 72
4
votes
0 answers

Is docker checkpoint supported for windows containers, or does it rely on CRIU?

The goal is to make container create or start faster from a "clean" state for an image whose build contains a long-running application installation. I thought two options would be to docker export immediately following the container creation (not…
ossek
  • 1,648
  • 17
  • 25
4
votes
1 answer

Using SSH in a Docker container (Windows)

Starting from the microsoft/aspnetcore docker image, I was able to install chocolatey and then use chocolatey to install some other software: open-ssh git Now I want to clone a repo from our Bitbucket server: I added the Bitbucket server to the…
riqitang
  • 3,241
  • 4
  • 37
  • 47
4
votes
1 answer

Docker windows containers file access permission issues

Windows Server 2016 host, running Docker EE through the default MSFTdocker provider. Docker version 17.06.2-ee-5, build 508bb92 docker-compose version 1.17.1, build 6d101fb0 I have a Windows container based on microsoft/windowsservercore:latest,…
4
votes
1 answer

.NET Core Container Exits After Run

I have a simple .NET Core API that returns a simple hello world string at port 80, I have built it into a docker container which works. I am able to run it locally in detach mode after building it through visual studio, however after I uploaded it…
4
votes
2 answers

Cleaning half-downloaded docker image

I have just installed Docker for Windows and I am running on Windows Container mode. I downloaded this image microsoft/mssql-server-windows-express, which is pretty sizable, and the download gets interrupted halfway. Where should I look for…
bluearth
  • 501
  • 4
  • 18
3
votes
1 answer

How can I add DNS entries to hosts file of a Windows Container?

I have a website in IIS of my host machine which is accessible by http://mysite.local address. I also have a windows container running on this host and I'm trying to connect to that website, from my windows container by using "curl…
Reza Aghaei
  • 120,393
  • 18
  • 203
  • 398
3
votes
3 answers

GKE NEG Readiness Gate Failing with Windows Containers and Readiness Probe

I'm running into an issue: Getting a health check to succeed for a .Net app running in an IIS Container when trying to use Container Native Load Balancing(CNLB). I have a Network Endpoint Group(NEG) created by an Ingress resource definition in GKE…
3
votes
3 answers

How to mount Docker MySQL Data/Socket volume on Windows 10?

I'm trying to simply run the latest docker mysql image on windows 10 with a data directory from the host mounted. I'm running docker run --rm --name=mysql --mount type=bind,src="C:\Docker Projects\mysql\mysql_data",dst=/var/lib/mysql…
Mr J
  • 2,655
  • 4
  • 37
  • 58
3
votes
0 answers

Unable to connect Docker Windows Container using VNC server

I have a problem connecting a windows container I wish to use for running automation scripts. Host - Primary Operating System which is running HyperV and docker (Access to UI) Target - container hosted on Host using docker (No access to…