Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [windows]

Windows is the brand name for a series of operating systems from Microsoft. Use this tag to describe questions about DevOps tools and practices on the Windows Operating System.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

WSL2 is broken after minikube was installed

After I finished the completed guide of minikube installation on my WSL2. I'm getting the following error message when I try to open a new terminal /usr/sbin/enter-systemd-namespace: line 10: /usr/...
user avatar
0 votes
1 answer
16 views

While pulling windows docker image from private registry, Docker trying to download some layers from internet

I created a Windows based docker image (asp.net web project) and pushed it to my private image registry. when i pull the image from another windows server (offline and there is not a proxy), i'm ...
user avatar
0 votes
0 answers
10 views

Have to log in as administrator then log back in as non-admin user to run Docker Desktop?

When I haven't opened Docker Desktop on my machine yet, and I try to Run it As Administrator on a non-admin account, nothing will happen. So, I have to log out of the non-admin account and into the ...
user avatar
0 votes
0 answers
12 views

Windows Based Docker Images

I am in the middle of testing this: https://github.com/docker-archive/communitytools-image2docker-win, converting a VHD to a Docker Image. But based on what I am reading, it will only install ...
user avatar
0 votes
0 answers
15 views

How to containerise developement of GUI apps (C++, C#)

I'm looking for a solution to virtualise the environment for the development of C++/C# Windows apps that have a UI that display live video. The apps needs to run native on the local machine during ...
user avatar
  • 101
0 votes
0 answers
14 views

Signing certificate inside a docker container?

I have a certificate stored in the Windows certificate store. I've written a .NET 6 application which accesses this certificate (with it's private key) to sign something. Outside of the container, the ...
user avatar
  • 101
0 votes
0 answers
38 views

After launching from AMI, how to make the AWS Instance to be able to retrieve metadata?

I have a Windows Server 2016 instance and I created a snapshot of it. And then I deleted the instance. Now, when I create AMI from that snapshot and launch instance from that AMI, I cannot decrypt the ...
user avatar
0 votes
0 answers
8 views

Parallel testing Desktop Win Ui 3 application delivered as .msix?

I'm looking for best solution to perform Appium (Windows application driver) UI Tests on WinUI3 Application in parallel. UI tests take control over mouse, so it's impossible to test more that one ...
user avatar
  • 1
0 votes
0 answers
44 views

Сontrol Windows-containers from Ansible directly through "docker" connection-plugin

Is it possible to control Windows-containers from Ansible with "docker" connection-plugin? I.e. with ansible_connection=docker in inventory-file? My current environment: Running dockerd -H ...
user avatar
  • 1
1 vote
2 answers
1k views

DNS resolution fails when container is started via docker-compose

I recently decided to try out windows containers and i am using my private minecraft server for that purpose (as a hobby project). I have an image prepared, based on Windows Server Core 2022. When i ...
user avatar
0 votes
1 answer
88 views

How to prompt when win_service service exists?

I'm trying to figure out the steps needed to get when or other conditionals to react when service is present on hosts targeted on my task. With this I get report that service is on one of the nodes ...
user avatar
0 votes
1 answer
163 views

What is the difference between CMD and terminal in Windows machine?

While using the Windows machine we face soo much trouble running the command line scripts on CMD(command prompt). Few commands run successfully but some are not. Why is there any difference between ...
user avatar
  • 1
1 vote
1 answer
82 views

windows docker location of file env.conf

I found that on linux you can configure some settings inside file: /etc/systemd/system/docker.service.d/env.conf . I am wondering where I can find it in windows wsl?- purpose is to set those two ...
user avatar
1 vote
1 answer
141 views

Failed to start windows service with Start Parameter in golang

I've tried to create a executable as a windows service using golang based on example provided in https://github.com/golang/sys/tree/master/windows/svc/example I intended to create auto start service ...
user avatar
0 votes
0 answers
13 views

Secrets management for on-prem non-containerized Windows applications

We have a several-years-old set of applications, running on a few thousand servers. These are Windows machines, non-containerized, mostly on-prem but we do run some stuff in the major cloud providers ...
user avatar
  • 101
1 vote
0 answers
26 views

Postgres initdb does nothing on Windows 2019?

I'm using Ansible to install Postgres 13 on a Windows 2019 machine. I downloaded the binaries from here and unzipped it to C:\PostgreSQL\13\pgsql, and added the path to the system path, all via ...
user avatar
  • 285
0 votes
0 answers
18 views

Creating sub-directories in a mapped drive?

I created a Samba (v4.x) share drive on a Linux box that's accessible to Windows nodes. I was able to access the Samba share (via username/pw creds) on my Windows box, and I mapped a Windows driver ...
user avatar
  • 285
0 votes
0 answers
201 views

/wsman (Caused by SSLError(SSLError(\"bad handshake: Error([('SSL routines', 'ssl_choose_client_version', 'unsupported protocol')])\")))"

I'm trying to ping to windows server 2008 via ansible from ubuntu. my host file is [win] 192.168.10.6 [win:vars] ansible_user=Administrator ansible_password="password" ansible_port=5986 ...
user avatar
-1 votes
1 answer
22 views

How to mitigate issues in an IIS on-prem application calling an unreliable cloud vendor API?

We have an IIS 10 (Windows Server) on-prem application that is calling a cloud vendor api and for some reason the api is not reliable. Sometimes the application returns results as expected. Sometimes ...
user avatar
  • 99
1 vote
1 answer
454 views

Trying to understand sample windows 10 packer template at https://github.com/StefanScherer/packer-windows

I am a beginner to Packer. I am using a template found at https://github.com/StefanScherer/packer-windows for Windows 10, and have been able to create a virtual machine in Hyper-V using the template ...
user avatar
1 vote
1 answer
177 views

Azure Release Pipeline Fails Using Expand-Archive Command

Sometime in the last week, our pipeline started using Expand-Archive to open the .zip file during the "IIS Web App Deployment" step instead of 7-Zip. It does not appear that this was done by ...
user avatar
-1 votes
1 answer
218 views

Jenkins Slaves cannot connect to the Master Jenkins

I switched the Jenkins to using https on port 8080 . After a restart of the Jenkins,the slaves cannot reconnect. I changed only Jenkins location from Configure System -> Jenkins Location -> ...
user avatar
4 votes
0 answers
116 views

Build Windows image for openstack with packer

I am trying to build Windows image for Openstack with packer, but i don't know how to add the autounattend.xml file or floppy files. I build the image with success from qemu but I cannot find the same ...
user avatar
  • 171
0 votes
1 answer
351 views

Elasticsearch on Docker - file permission issues

I am trying to test LDAP in elasticsearch/kibana by running it in Docker on Windows 10. I pulled the image down: docker pull docker.elastic.co/elasticsearch/elasticsearch:7.10.0 And ran it: docker ...
user avatar
  • 21
0 votes
1 answer
38 views

Can't change Windows Docker storage location (The parameter is incorrect)

I'm trying to move the Docker storage location to another drive. This is my configuration file: { "registry-mirrors": [], "insecure-registries": [], "debug": false, ...
user avatar
3 votes
0 answers
100 views

Is running linux container on windows aws instance possible?

what I'm trying to achieve is running a Linux(ubuntu LST) container inside a windows server 2019 OS. The problem is that the windows OS runs as an AWS instance. There have been problem for me trying ...
user avatar
  • 131
0 votes
1 answer
487 views

The ansible_local var is not being populated when using the setup module to gather custom facts on windows

The ansible_local var is not being populated when using the setup module to gather custom facts on windows. Playbook: --- - name: Testing and Debug PB hosts: all tasks: - name: Gather Facts ...
user avatar
  • 1
0 votes
1 answer
284 views

Combining Two Containers

I'm working on a Windows laptop and running Docker for Windows on it. I want to run an Ubuntu container with a specific version and a MySQL server on it. So the question is, do I have to download ...
user avatar
  • 101
0 votes
1 answer
33 views

WIndows or Ubuntu server when developing on windows? [closed]

I am developing a MEAN app a windows laptop. Should I use Ubuntu or windows server on my cloud provider? Are there downsides of choosing one over the other?
user avatar
  • 115
3 votes
0 answers
688 views

Remote connection from Docker container by FTP

I built my docker image and run it: docker run --rm -P -d test:latest Then I entered the command and opened connection: ftp open XXX I successfully connected and entered user data. After that I ...
user avatar
  • 91
2 votes
1 answer
59 views

vagrant on windows 10 incorrect network configuration on multi-machine setup

I have a problem with vagrant that is running on windows 10 when I deploy centos 8 machines all the machines have eth0 with the same Ip and they cannot communicate with each other the ip 10.0.2.15 ...
user avatar
  • 23
1 vote
1 answer
22 views

How do I package a jar and a Linux VM to run in Windows? [closed]

I'm new to DevOps so please forgive my ignorance. I have inherited a Win10 Java app that is currently run by pressing play in NetBeans. It makes API calls to a server running in a Linux VM. What I'd ...
user avatar
  • 113
0 votes
1 answer
84 views

windows 10 vs windows server 2016 as jenkins slave

The builds are running locally in my Windows 10 OS successfully. Can I run the same builds in Jenkins slave with Windows Server 2016? Will there be any issues during the build or should I go for ...
user avatar
4 votes
1 answer
352 views

I'm trying to run `vagrant provision` on PowerShell Window for Ansible playbook

Here is what it replies: Windows is not officially supported for the Ansible Control Machine. Please check https://docs.ansible.com/intro_installation.html#control-machine-requirements What should I ...
user avatar
1 vote
2 answers
4k views

Jenkins Plugin Install Failed

I am trying to set up new Jenkins. When I download Suggested Plugins OR try to install any plugin I am getting below error. I am using Jenkins Latest Version 2.204.1. I have set up this on VM. I am ...
user avatar
0 votes
2 answers
4k views

No Kubernetes Option in Docker Desktop for Windows

Just getting started on Docker and after installing Docker Desktop on a Windows 10 Pro machine, the option to enable Kubernetes is missing from the context menu when using Windows containers. See the ...
user avatar
  • 3
3 votes
1 answer
427 views

What about installing an Antivirus on Windows K8s nodes?

We're building an on-premise Kubernetes cluster with Windows nodes. As a company policy, all Windows Servers needs an antivirus (symantec endpoint security). The antivirus would be installed on the ...
user avatar
2 votes
2 answers
336 views

Pulling windows base images fails

I tried pulling the windows/nanoserver image. After that failed I looked around and found this site Every one of them fails with the same error message #docker pull mcr.microsoft.com/windows/...
user avatar
0 votes
1 answer
24 views

Dev environment for legacy Visual Studio code?

I work at a small company that has several legacy projects that all require different versions of visual studio to run. The company has servers on site and I have a small cloud budget. I want to set ...
user avatar
  • 105
0 votes
2 answers
383 views

Kubernetes installation, configuration and verification in a local environment

I am a regular user of Docker since a few years and I have the Docker service installed and running locally on my Win10Pro host. It works well. Now I want to get started with Kubernetes so I used the ...
user avatar
2 votes
1 answer
12k views

Why does my Docker composer not work with volume?

I'm trying to create a volume to be shared among the containers, and this volume binds to a location of my host, the problem is that every time I run the docker-compose up gives the following error: ...
user avatar
0 votes
1 answer
21 views

How to get 'diff' on Windows TravisCI machines?

Attempt was choco install git -y, but it does not seem to be available: The command "diff -u <(echo -n) <(gofmt -d ./)" exited with 2. diff: /dev/fd/62: No such file or directory Windows ...
user avatar
  • 12.5k
2 votes
0 answers
43 views

Issue building deb package using Docker/Windows

I am trying to create a way for our developers to be able to build deb packages from their Windows machines. We would like to reuse what we have for *nix so I've written a few batch scripts which are ...
user avatar
  • 435
2 votes
1 answer
387 views

Trying to migrate CI/CD process from Jenkins to Gitlab Runner + Docker on Windows

I need to improve the CI process of my projects, which is basically composed of the following things: a Linux server, that contains a Jenkins master a VM with Windows 10, with a Jenkins slave, ...
user avatar
0 votes
1 answer
30 views

Cross-CI on Windows and Mac

I am deploying CI with several runners - however they are all based on the Docker executor on Linux. Is it possible to use Linux runners to test applications on Windows or Mac instead? I understand I ...
user avatar
0 votes
1 answer
253 views

Unable to run the playbook in remote machine using Ansible job template. Connection Failed

Playbook.yml --- - name: connectionTest hosts: Windows tasks: - name: "Windows Connect" win_command: hostname register: wincmd_out Variable declared in Inventories Project/inventories/...
user avatar
9 votes
4 answers
22k views

Docker compose volume syntax valid for Windows and Linux

We have developers working on an app using both Windows and Linux. The application is built within a Docker container, and ships a docker-compose specification for the build environment. The local ...
user avatar
  • 3,048
1 vote
2 answers
7k views

Waiting for privilege escalation prompt

I'm new with Ansible so hope to find answers here. I'm trying to run some playbook but getting an error: fatal: [10.65.30.117]: FAILED! => { "msg": "Timeout (12s) waiting for privilege ...
user avatar
  • 13
0 votes
1 answer
62 views

Docker on Windows: Write directly to host's EventLog?

I run all my services as Docker containers on Linux by default. Recently got an order from a very large company to deploy to their Windows Servers. They have a very specific request for all ...
user avatar
0 votes
1 answer
192 views

Custom metric for a Windows process on a Windows ec2 instance

I have a process (exe) on a Windows ec2 that is using up lots of memory. I would like to create a custom metric that will collect data and send to CloudWatch. I would like to also create an alarm when ...
user avatar
  • 1