Questions tagged [nano-server]

Nano Server is a deeply refactored version of Windows Server with a small footprint and remotely managed installation, optimized for the cloud and a DevOps workflow.

Nano Server is a deeply refactored version of Windows Server with a small footprint and remotely managed installation, optimized for the cloud and a DevOps workflow. It is designed for fewer patch and update events, faster restarts, better resource utilization and tighter security. Nano appears for the first time in Server 2016 Technical Preview 2.

83 questions
15
votes
3 answers

Is it possible to run GUI apps in windows containers?

So I'm playing around with this containers concept and specificlly windows containers. I managed to run containers using the windows nanoserver image, however this image meant to services and does not support gui applications (or 32 bit…
RythemOfTheDay
  • 195
  • 2
  • 9
14
votes
2 answers

Pulling a Windows Image for Docker on Windows Server 2019 has OS compatibility issues

I have recently tried to pull and run a Docker image (that worked on Windows 10) on a Windows Server 2019 instance which failed with the following error message: The container operating system does not match the host operating system. I've tried…
Dandré
  • 2,053
  • 3
  • 18
  • 38
12
votes
1 answer

How to install Powershell Core in aspnet Nanoserver docker container?

Is it possible somehow to add Powershell Core to the AspNet Nano Server base images? We use a multistage dockerfile to produce an image containing our .net core web application. The final image is based on…
HVL71
  • 251
  • 2
  • 5
10
votes
2 answers

Powershell remote access to nanoserver on docker

I have created a W10 VM (guest) running docker, pulled microsoft/nanoserver image and hosted a container of the image. (tutorial here: https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_10) Everything…
RassK
  • 515
  • 6
  • 20
5
votes
0 answers

How can I connect to remote systems using PowerShell inside a Nano Server Docker container, specifically build 1809?

Background I have a .NET application that I would like to install inside a Nano Server Docker container, specifically build 1809. The app is basically a REST server which will receive a REST request and depending on the contents of the JSON, invoke…
4
votes
1 answer

Trying to port application to docker nanoserver container. Running exe fails with exit code -1073741515 (Dependency missing)

I'm currently trying to port my image optimizer application to a NanoServer docker image. One of the tools my image optimizer uses is truepng.exe. (Can be downloaded here: http://x128.ho.ua/clicks/clicks.php?uri=TruePNG_0625.zip) I simply created a…
Devedse
  • 1,801
  • 1
  • 19
  • 33
4
votes
1 answer

'vc_redist.x64 does not install in microsoft/nanoserver image

I want to use microsoft/nanoserver as base image for my requirement and want to install 'vc_redist.x64' package into it but I am not able to install as it returns some error as shown below: and this is my Dockerfile: FROM…
Amit Gawali
  • 270
  • 2
  • 4
  • 18
4
votes
1 answer

how to run any exe application on docker

I am facing problem when I build and run my image. here is my docker file code. FROM microsoft/nanoserver MAINTAINER sagar@gmail.com COPY name.exe /bin/ ENTRYPOINT ["name.exe/bin"] CMD ["/bin/name.exe", "input1", "output"] To build I am using this…
Sagar
  • 51
  • 1
  • 8
4
votes
1 answer

Running Service Fabric on Nano Server

After reading the docs of Service Fabric and how to run it on Windows Server and on Linux, I cannot find anything talking about how to run it on Nano Server. I think that the game studio named Illyriad are running part of their infrastructure on…
4
votes
2 answers

Setting machine wide environment variable in Nano server

I started a remote session from VM host(desktop) to the guest VM having a Nano server(preview 5). I would like to update the PATH variable and make it effect machine wide(example: to put dotnet.exe in PATH to enable running portable apps). What I am…
Kiran
  • 56,921
  • 15
  • 176
  • 161
4
votes
2 answers

wget is not using environment variable based proxy settings

I have a windows nano server and try to set the proxy settings. The nano server is only in command mode no GUI. I have run in PowerShell netsh winhttp set proxy proxy-server="ipadress:8080" then I have ping www.google.de and the IP address from…
tire0011
  • 1,048
  • 1
  • 11
  • 22
3
votes
0 answers

'Unable to Find User ContainerUser' when building Windows Dockerfile via Actions Runner

When building my windows dockerfile (.net core nano)... docker build -f *** -t ***:*** --build-arg ARG1=foo --build-arg ARG2=bar . I'm getting an error during the build that occurs in response to my first RUN command. The command will fail with the…
3
votes
2 answers

docker --add-hostname not working for windows container

I am trying to add host names to host file in the windows container with no success. According to documentation, this should add an entry on host file docker run -it --add-host me:127.0.0.1 microsoft/dotnet:nanoserver powershell but i can't ping…
MiguelSlv
  • 14,067
  • 15
  • 102
  • 169
3
votes
2 answers

How to I expand arguments in a Docker RUN command using Powershell?

I have a Dockerfile that uses a Windows Nano Server base image and uses Powershell as shell: FROM microsoft/nanoserver SHELL ["powershell"] I now want to define a variable (or pass it in via --build-arg) using the ARG command and then use it in a…
GeorgS
  • 741
  • 5
  • 12
3
votes
0 answers

Docker for Windows: is it possible to install a printer?

I have a .NET application which generates some reports in PDF format and sends them to a printer. The printer is a network printer which is available directly via IP (no print server). Right now this application is hosted on a Windows Server-based…
Vladimir Panchenko
  • 1,141
  • 2
  • 15
  • 25
1
2 3 4 5 6