As of May 31, 2023, we have updated our Code of Conduct.

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
1 answer
22 views

Windows curl command corrupts zip files on upload to SFTP server

Per our IT department, I have to use a curl command to upload files to our SFTP server. I use a Jenkins pipeline to build our artifacts on Windows build nodes, which are *.zip files, and this is the ...
Chris F's user avatar
  • 345
1 vote
1 answer
126 views

Azure DevOps Pipeline failure - Program does not contain a static 'Main' method suitable for an entry point

I have been tasked with deploying an email service to an Azure tenant using Windows Containers. In my Pipeline (Azure DevOps), I am receiving the following error when in the build step: CSC : error ...
Hayen's user avatar
  • 11
2 votes
0 answers
25 views

Jenkins build fails when no commits in the code (ChannelSftp.throwStatusError)

I have built a jenkins pipeline for executing a test on a windows server. Once the automated test report is generated on the windows server, it ships that report to a different server. There are ...
Kasun Wimaladarma's user avatar
0 votes
0 answers
22 views

Containerization tool for Windows-based applications with USB passthrough

Since DevOps isn't really my field of expertise regularly, please feel free to just point me in the right general direction if you think my question is too broad or in any other way insufficient :) I ...
Nyfiken Gul 's user avatar
2 votes
2 answers
3k views

Docker.Core.HttpBadResponseException: {"message":"2 errors occurred:\n\t* provisioning docker WSL distros: deploying

2 years cannot fix error install Docker on Windows Docker.Core.HttpBadResponseException: {"message":"2 errors occurred:\n\t* provisioning docker WSL distros: deploying \"docker-...
Raphaël Colantonio's user avatar
0 votes
0 answers
12 views

What feature of Windows used by Docker

I know docker is based on cgroups and namespaces in Linux operating system, but I wanted to know what feature in Windows used by docker to implement containers? Somebody could explain it?
Milad's user avatar
  • 101
0 votes
0 answers
30 views

Preparing docker images containing different sets of preinstalled windows applications - possible?

I'm looking for a solution that allows to provide the predefined environments for developer work. Each environment should contain preinstalled 3rd party applications - most of them are GUI ...
VillageTech's user avatar
0 votes
0 answers
200 views

ansible win_copy cannot copy src file as it does not exist

I am trying to run a molecule test where it is supposed to create a VM and copy a binary from network UNC path to the VM but somehow it is failing with the below mentioned error. This is what the task ...
WindowsGuy's user avatar
0 votes
0 answers
19 views

Access GCP Managed Prometheus metrics from Grafana on Windows

I have installed Grafana (running at localhost:3000) and Prometheus (running at localhost:9090) on Windows 10, and am able to add the latter as a valid data source to the former. However, I want to ...
DevOpsNewbie's user avatar
0 votes
0 answers
402 views

Jenkins on Windows problems with plugin updates "unable to find valid certification path to requested target"

We have Jenkins running on a Windows machine behind a company proxy. I am getting a strange behavior/error when using diffrent kind of users and try to update plugins. The jenkins update site has a ...
Moone's user avatar
  • 1
2 votes
0 answers
20 views

Linux Cloud/Windows On Prem Deployments

I have sort of a unique problem where I have a cloud deployment (linux) that needs to be ported to an on-premise deployment (windows). The constraint is that this is medical software and hospitals ...
Gillespie's user avatar
  • 121
0 votes
0 answers
22 views

Is using a Docker to isolate production environment is the correct approach?

I’m new to containers. We have a Win10 Pro server. There are bunch of applications installed on it and a lot of garbage. In addition, the server has our production application (windows based) that ...
theateist's user avatar
  • 101
3 votes
1 answer
230 views

How do I supply a professional license to a Docker image?

I’m using Windows Server Core as part of an image I’m working on. When it's deployed to production, how do I supply a license to it? Besides that, is this license needed to be bought for each image it'...
Mol's user avatar
  • 33
0 votes
0 answers
160 views

Execute powershell on cifs share, Jenkinsfile on Windows agent

I am struggling with executing a powershell script with environment variables within a Jenkinsfile on a cifs/smb/samba share as a customworkspace. The Jenkins Agent is running on a Windows 10 VM This ...
SvenB's user avatar
  • 1
0 votes
0 answers
43 views

Docker compose volumes where can be found on host windows

I have docker-compose file with volumes section for given container: video-streaming: image: video-streaming build: context: ./video-streaming dockerfile: Dockerfile-dev container_name: video-...
user36009's user avatar
0 votes
0 answers
36 views

Updating strategy for a single executable on a file server

We use a Windows file server to store a program. The users (Windows) have a link to the file. If we want to update this program, we have to wait for the regular closing time. But sometimes a user does ...
robni's user avatar
  • 101
0 votes
0 answers
291 views

windows.win_shell not running as currently logged-in user

I am working on a playbook that is meant to upgrade software on a Windows machine. I would like to prompt any currently logged in users to cancel the upgrade if it is not a good time. I have the ...
andeke07's user avatar
0 votes
1 answer
354 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 ...
Murat Cabuk's user avatar
0 votes
0 answers
68 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 ...
kyi so thin's user avatar
4 votes
2 answers
6k 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 ...
AdrianDeWinter's user avatar
0 votes
1 answer
773 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 ...
Aslak Laine's user avatar
0 votes
1 answer
1k 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 ...
Rashid's user avatar
  • 101
1 vote
1 answer
210 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 ...
Night bird's user avatar
2 votes
1 answer
400 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 ...
imaheshwaran s's user avatar
1 vote
0 answers
64 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 ...
Chris F's user avatar
  • 345
-1 votes
1 answer
28 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 ...
Pie's user avatar
  • 99
1 vote
1 answer
536 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 ...
JamesMatson's user avatar
1 vote
1 answer
269 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 ...
Rich Claussen's user avatar
-1 votes
1 answer
400 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 -> ...
likith sunny's user avatar
4 votes
0 answers
188 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 ...
pioupiou's user avatar
  • 171
0 votes
1 answer
678 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 ...
Joel's user avatar
  • 21
0 votes
1 answer
103 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, ...
Dmitrij Kultasev's user avatar
3 votes
1 answer
205 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 ...
dor00012's user avatar
  • 131
0 votes
1 answer
579 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 ...
AlexV's user avatar
  • 1
0 votes
1 answer
369 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 ...
user19215's 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?
YulePale's user avatar
  • 115
3 votes
0 answers
903 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 ...
Leonid's user avatar
  • 91
2 votes
1 answer
112 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 ...
danidar's 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 ...
schoon's user avatar
  • 113
0 votes
1 answer
125 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 ...
SWAGATA KAR's user avatar
4 votes
1 answer
563 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 ...
Thi Nguyen Hoang's user avatar
1 vote
2 answers
6k 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 ...
ankit thakkar's user avatar
1 vote
2 answers
5k 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 ...
ACB's user avatar
  • 13
3 votes
1 answer
514 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 ...
Jonathan Rioux's user avatar
2 votes
2 answers
521 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/...
Dawnkeeper's user avatar
0 votes
1 answer
28 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 ...
avenmia's user avatar
  • 105
0 votes
2 answers
734 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 ...
Niklas Rosencrantz's user avatar
2 votes
1 answer
21k 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: ...
Carlos Henrique Carniatto's user avatar
0 votes
1 answer
23 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 ...
030's user avatar
  • 13k
2 votes
0 answers
54 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 ...
joshk132's user avatar
  • 465