Questions tagged [windows-server-container]

Windows Server Container is an isolated place where an windows server applications can run without affecting the rest of the system and without the system affecting the application.

Windows Server Container is an isolated place where an windows server applications can run without affecting the rest of the system and without the system affecting the application.

It is a work in progress and subject to change.

For more information see: https://msdn.microsoft.com/en-us/virtualization/windowscontainers/about/about_overview

30 questions
7
votes
0 answers

Can i run Internet Explorer inside a Windows Server Container?

I want to realise my dream of having containers for my web app and containers with selenium inside testing it. Then i can massively parallelise my browser testing just by creating a cluster of containers. Is it possible to run Internet Explorer in a…
ChrisBellew
  • 1,144
  • 2
  • 12
  • 27
6
votes
3 answers

error invalid windows mount type: 'bind' on Windows 10 docker build of Windows container

I just installed the latest Windows 10 Pro 20H2. After installing Docker Desktop and switching it for Windows containers, it asked me to do the following Enable-WindowsOptionalFeature -Online -FeatureName $("Microsoft-Hyper-V", "Containers")…
eri0o
  • 2,285
  • 4
  • 27
  • 43
6
votes
0 answers

Enable Remote Desktop in Windows Server Container

I have a Windows Server container and I want to RDP into its desktop environment. It seems that Microsoft has closed the RDP in recent Windows Server Core Containers. I tried to follow up on this tutorial. I can successfully log in with the Remote…
Masoud Rahimi
  • 5,785
  • 15
  • 39
  • 67
6
votes
1 answer

Running Firefox in headless mode on Windows container with windows/servercore

In order to supply Windows Selenium WebDriver Grid, I started preparation of Dockerfile that would allow to serve as grid node. The original cause was to prepare an image with controllable Firefox/GeckoDriver version. Encouraged by the successful…
6
votes
1 answer

Error trying to create a scheduled task within Windows 2016 Core container

I am trying to build a container which would include a custom scheduled task. This is my dockerfile: FROM microsoft/windowsservercore RUN schtasks /create /tn hello /sc daily /st 00:00 /tr "echo hello" I get the following error: ERROR: The task…
6
votes
0 answers

Deploying ASPNET core app in IIS inside Docker Container

I have been working with docker for some days and since I am trying the possibilities of docker, recently faced a problem about how to deploy an ASP.NET core app in a webserver inside Docker container. Deploying an ASP.NET 4.5 app is successful…
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

How to install the windowsservercore image in docker from blob or saved file?

Problem: I am unable to install the windowsservercore image in docker. This is similar to that posed here: windowsservercore container image not installing Set-up: macOS Sierra with Windows Server 2016 TP5 running inside VirtualBox alongside…
QHarr
  • 83,427
  • 12
  • 54
  • 101
4
votes
0 answers

Windowsservercore change time and date

I have a docker running the windowsservercore and I want to change the time in the container to the western European time. Nothing worked so far What I tried: Powershell Set-Date Set-Date : A required privilege is not held by the client 2.…
aumanjoa
  • 905
  • 1
  • 11
  • 30
2
votes
0 answers

Binaries inside windows docker not displaying error messages

Usually when binaries under windows are not able to load dependencies (e.g. a missing dll) they show that via a pop-up message. When I run the same binary inside a windows server core docker container the same binary just stops and cannot display…
Michael
  • 21
  • 2
2
votes
2 answers

Install SQL Server LocalDB on Server Core 2019 in Docker container

Within a Docker container (image = mcr.microsoft.com/windows/servercore:ltsc2019), I have downloaded the SQL Server Express 2019 installer. I have successfully downloaded the LocalDB msi with: SQL2019-SSEI-Expr.exe /Action=Download…
2
votes
0 answers

Docker Windows Error Reporting Crash dump for StackOverflowExceptions not wokring

I am trying to configure a docker image so that we get a memory dump when a container crashes. I have configured the registry settings for "Windows Error Reporting" so that it should write a dump file to a mapped directory on the host machine. $key…
2
votes
3 answers

Docker Windows Containers CMD - Command not running

I have a docker image that ends with the following CMD: CMD ["powershell", "c:\install\settings\install.ps1"] or CMD powershell c:\install\settings\install.ps1 It did not execute (or perhaps the volume is not mounted yet). Settings are placed in a…
2
votes
0 answers

Is there a way to use Windows with GUI capability on Dockers

I'm thinking is there a way to leverage on Dockers concept for my windows base Desktop application. I need to run GUI test, performance test, workflow test etc.. for each build. What I currently do is use Hyper-V with pre setup different OS…
1
vote
2 answers

Passing argument to dockerfile not working well

I'm having some trouble with passing argument value to dockerfile. Running docker in Windows Server 2016 My docker version info is PS C:\Users\Administrator\Desktop> docker version Client: Docker Engine - Enterprise Version: 19.03.4 API…
stories2
  • 466
  • 1
  • 5
  • 20
1
2