windows-container Questions

11

Solved

I need to append to the PATH within a Windows Docker container, and I've tried many permutations. ENV PATH=%PATH%;C:\\Foo\\bin ENV PATH=$PATH;C:\\Foo\\bin ENV PATH="%PATH%;C:\Foo\bin" ENV PATH="$P...
Hymeneal asked 7/2, 2017 at 14:53

2

Solved

It seems that on Windows Kubernetes starts a pause image for each pod that is created. What is the purpose of this pause image? Where can I find more documentation about it?
Bozarth asked 12/11, 2018 at 8:31

7

I am trying to build an image using docker windows container. Here is my dockerfile FROM mcr.microsoft.com/windows/servercore:ltsc2019 as installer RUN Invoke-WebRequest -URI 'www.google.com' Wh...
Goldie asked 16/1, 2020 at 9:4

1

My windows docker container cannot resolve host.docker.internal, but it's working with Linux containers. I would prefer to stay with Linux containers, but I am having trouble with an old .Net frame...

3

Solved

Is it possible for an InitContainer to change the environment variables of the application container when running inside the same Pod? Note that I am looking for a detailed answer that describes t...
Bengal asked 6/5, 2018 at 19:31

10

Solved

Is it possible to run Windows containers on Linux? The scenario is based on an application written in .NET (old net) and the Linux user that wants to run this with Docker needs to provide a net462 ...

1

Solved

I need to use Docker Windows containers for Windows applications to run on it. I build an image with Windows 2019 Server and installed x server for the display like the ubuntu image but it doesn't ...
Orangeism asked 10/5, 2022 at 15:17

2

Solved

I'm new to the docker. Any help and tips are welcome. Environments: Windows: Windows 10 Pro 21H1 Docker Desktop: 3.4 I can run hello work example without any issues. But seems like I can't use na...

1

docker: Error response from daemon: hcsshim::CreateComputeSystem 38d5975c4992c39b5ee8f5a46ad19f45435ff59b18523e3552c53b24ab23f1ca: The request is not supported. (extra info: {"SystemType"...
Eggert asked 8/2, 2021 at 12:22

3

Solved

I am trying to install WixToolset 3.11.1 inside a running windows container based on image mcr.microsoft.com/windows/servercore. I am using the chocolatey command choco install wixtoolset but the ....
Raid asked 16/4, 2019 at 7:27

0

I am new to containerd and I am trying to run the windows containers using containerd. After installing containerd, I just tried to pull the image from registry and I got below issue. The issue i a...
Ganef asked 21/1, 2022 at 9:6

1

I am new to docker, so please bear with my naive questions. We are trying to host a dot net application in a Windows container. We were successful in hosting the application in the container. Howev...
Kiruna asked 19/10, 2020 at 15:48

2

When I right click on a local Windows Docker container in Visual Studio Code > Attach Visual Studio Code, I get the following error. Can Visual Studio Code attach to a Windows container? If so, ...
Ackack asked 25/2, 2021 at 22:30

2

Solved

I have a console application that is built on .NET Framework v4.8. I am trying to run it in Azure Container Instances(ACI) using the docker image. I have created a docker image locally and pushed i...

5

Solved

I am trying to set the timezone of a WindowsContainer which is based on the windows nano server 2019 Build 1809. One of the simplest way of doing it for linux containers is to set the TimeZone env...

3

Solved

I am making a docker containerized application using visual studio 2017. When running docker through visual studio first, I got an error that "ERROR: client version 1.22 is too old". This error wa...
Explanatory asked 29/7, 2017 at 21:45

1

I have a DESKTOP machine running Windows 10 running Windows 10, Microsoft 365, Docker Desktop running in Windows Containers mode. I have an Amazon EC2 machine running Windows Server 2019 and have i...
Exorbitant asked 21/4, 2021 at 17:0

1

Having issues with a brownfield application (asp .netcore) migrating to a windows container running on mcr.microsoft.com/dotnet/core/aspnet:3.1 accessing the registry. Specifically, I've tried to r...
Helban asked 3/3, 2021 at 18:30

3

Solved

This seemingly simple task turns out very difficult. I am trying to get docker container's IP from .net project, in my case using c#. What I have tried so far (This returns docker engine's IP (Do...
Despair asked 20/12, 2018 at 23:25

3

I have C# solution, with 4 projects, 3 being Dlls and 1 is the console application uses those DLLs. I tried to use docker support on visual studio to build my docker image, it fails My dockerfile...
Batrachian asked 20/6, 2018 at 13:7

1

I am trying to test a software that exports a file in certain periods of time. I thought of using a docker container to give the desired time and not use system time. The thing is that I am lacking...
Naoma asked 24/7, 2020 at 8:46

3

i am using the latest version of docker for windows. the linux container goes smoothly but i am getting below problem wsarecv: An existing connection was forcibly closed by the remote host. i...
Handset asked 5/10, 2018 at 9:39

2

Solved

I set up Docker for Windows on my laptop and switched from Linux Containers to Windows Containers in Docker's settings (which prompted a couple of restarts and Windows updates). I pulled an image a...
Galvano asked 12/8, 2017 at 20:18

3

Solved

I need to keep my Windows Container up so I can run further commands on it using docker exec. On Linux, I'd start it to run either sleep infinity, or tail -f /dev/null. Alternatively, I could borr...
Rucksack asked 25/5, 2019 at 22:21

0

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 t...
Emplacement asked 5/11, 2019 at 6:49

© 2022 - 2024 — McMap. All rights reserved.