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
0answers
9 views

EC2 Image builder power shell execution arguments ineffective

I am trying to create a Windows C++ Ci build machine image using EC2 image builder. In order to install the needed MSVC compiler, I use the Visual Studio build tools bootstraper to install it ...
1
vote
0answers
23 views

Can't install Docker Engine On Windows Server 2019 in an Air Gapped network

The organization I work for has a tightly air-gapped network. I need to be able to run my applications in docker containers, so I need to install Docker Engine on Windows Server 2019. I have followed ...
1
vote
1answer
17 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 ...
0
votes
0answers
29 views

Jenkins job failing for sql backup

I was trying to automate the database backup from jenkins. I have a powershell script which will take care of the backup activity. From command line i was able to execute the script and it was working ...
0
votes
0answers
20 views

How to run an installer from a Windows share in a Windows container?

I am tasked with creating a Docker image of Microsoft SQL Server 2012 using Docker Desktop. I am running Windows 10 Enterprise Version 1809 OS Build 17763.1039 and Docker Desktop Community Version 2.2....
0
votes
1answer
16 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 ...
2
votes
1answer
19 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 ...
1
vote
2answers
61 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 ...
0
votes
1answer
454 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 ...
3
votes
1answer
112 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 ...
2
votes
2answers
73 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/...
0
votes
1answer
22 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 ...
0
votes
1answer
297 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 ...
1
vote
1answer
798 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: ...
0
votes
1answer
15 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 ...
2
votes
0answers
21 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 ...
2
votes
0answers
51 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, ...
0
votes
1answer
23 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 ...
0
votes
1answer
60 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/...
3
votes
3answers
2k 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 ...
1
vote
2answers
1k 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 ...
0
votes
1answer
25 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 ...
0
votes
1answer
21 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 ...
2
votes
0answers
43 views

Run Docker Containers without having a logged in User on Windows

Is it possible to run Docker containers without being logged in as a user on Windows? I have a few containers I am auto-deploying on a server, but I am currently stuck leaving a generic service ...
2
votes
1answer
61 views

What is the need of plugins in Jenkins (Sonarqube)

On learning about integrating Sonarqube to CI/CD pipeline, I came across the Sonarqube Jenkins plugin which most of the online blogs recommends. After configuring it, I realized that the working is ...
3
votes
1answer
23 views

Store named volumes on another drive

I'm really familiar with Docker on Linux but my company's IT department uses Windows. They're interested in converting VM-based services over to Docker so I'm trying to get them set up with a good ...
1
vote
0answers
20 views

How to mount ssh keys on ephemeral container from a Windows host? [closed]

I'm working on a container that uses Git to interact with some git repositories. But, to use Git it has to use the SSH keys that are stored on the Windows host machine. I tried two of the ways I could ...
1
vote
1answer
509 views

What is the difference between dockerd and com.docker.service in Docker for Windows?

What is the difference between dockerd and com.docker.service in Docker for Windows? Or rather I should ask: why do I need (if I need) com.docker.service running? Intention: I want to use Docker only ...
0
votes
1answer
321 views

How to build windows image on azure dev ops hosted agent

The host agent pool on azure-devops to build windows container, Hosted Windows Container is running Windows Server version 1803. But I want to deploy on Windows Server 2019, so instead of using ...
2
votes
1answer
150 views

Puppet directory sync does not delete absent files

Repeating my question from SO.SE here ... I'm trying to have my configs directory (on Windows server 2016 node) to be synced from puppet master (puppet --version = 5.5.3) modules folder: I have my ...
-1
votes
1answer
126 views

How does someone share a drive to be available for my containers?

I have been trying to setup my ASP.Net Core project with docker support, but it seems like I am failing to share my C:\ drive? Following that link I have encountered these documentations stating that ...
2
votes
1answer
736 views

How to assign static ip in docker for Windows for linux container?

I want to assign static ip to my docker container in docker for Window for linux container. I have achieved same in linux container using macvlan but macvlan doesn't support for docker for Windows. ...
1
vote
0answers
302 views

Error running Team City build step in Docker image: "ENOENT: no such file or directory, lstat 'C:\ContainerMappedDirectories' [closed]

I'm running a Team City build that runs a command line step in a Docker image (stefanscherer/node-windows:8.11.2-nanoserver). The step is simply this: npm install Note that Team City allows you to ...
1
vote
1answer
300 views

Jenkins slave not able to find dotnet

When I check for dotnet version it is throwing an error D:\jenkins\workspace\csharp-windows-test>dotnet --version 17:58:06 System.ArgumentNullException: Value cannot be null. 17:58:06 Parameter ...
3
votes
1answer
424 views

Jenkins hangs on Windows CMD build that has GUI

I am attempting to automate imports and exports of Oracle's PeopleSoft Application Designer. It is a GUI program but it can operate in the windows command line for certain tasks. This project has ...
1
vote
1answer
232 views

Ansible playbook to ensure Ruby gems are installed

Can I use ansible to make sure certain Ruby gems are installed on a list of Windows 7 hosts? How do I do this?
1
vote
2answers
773 views

Join a Linux Docker swarm with a local Windows Docker for test purposes

I'm currenlty trying to connect/join a Linux Docker Swarm cluster with my Windows machine in order to test a stack without sending the stack over and over to my test cluster under Linux. My problem is ...
4
votes
2answers
2k views

problems running Ansible with become on domain-connected Windows Server

I am running several tasks on a Windows 2016 server with Ansible including: Joining it to a domain SOMEDOMAIN SOMEDOMAIN\SOMEUSER has been added to the local administrators group on the machine with ...
1
vote
1answer
179 views

Teamcity web-interface does not work

I have Teamcity on Windows machine. When installed it, I selected the 8080 port. I have another application on the 80 and 443 ports. It worked fine, but now I see an error: But if I open localhost:...
2
votes
1answer
2k views

WinRM / WSMan - getting SSL handshake error / TCP RST when connecting with IP address, correct connection when connecting with hostname

While using Ansible to manage some AWS based Windows machines, when connecting using the IP as destination, on some machines I'm getting an SSL Error credssp: HTTPSConnectionPool(host='18.217.233....
1
vote
1answer
358 views

Windows Docker in swarm with Linux nodes connection issue

I have the following setup for my docker swarm: three Linux master nodes one Linux slave nodes Windows slave node They are connected with an overlay network. Within the linux nodes everything works ...
2
votes
1answer
1k views

Minikube - Is there a way to run Windows Containers?

How do I run Windows containers on Minikube? Is it possible?
3
votes
1answer
2k views

How do I provision a Windows Docker container with Ansible?

I want to provision a Windows Docker container with Ansible, but I am confused about how exactly it will work. For instance if I use Packer with Linux, I know I can run ansible (which is ansible ...
1
vote
0answers
45 views

Docker for Windows - How to increase verbosity when doing a `docker build` [closed]

I find that when I'm building Docker containers in Windows I find myself waiting a lot with little information. By contrast, builds in Linux show lots of useful information. How can I get verbose, ...
0
votes
2answers
154 views

Problem with Anaconda installation

This is what comes up any time I start up Anaconda Prompt - \Xtralien was unexpected at this time. C:\Users\User Name> @SET "PATH=C:\Program Files (x86)\QuantumWise\VNL-ATK-2016.3\bin;...
4
votes
1answer
73 views

How can I build & maintain a personal, cross-platform 'toolkit' of commonly used applications?

I've discovered a number of open source tools over the years which have become an essential part of my personal workflow & productivity in my current day job (project manager / business analyst). ...
2
votes
2answers
5k views

How can a Windows server be a slave to Jenkins running on Linux when there in an error installing the slave-agent.jnlp file?

I want to have a Windows Server 2016 slave node with a master Jenkins (version 2.89.2) running on Red Hat Enterprise Linux 7.x. I am trying to install the slave-agent.jnlp file from the Jenkins web ...
0
votes
1answer
541 views

Run docker inside a VirtualBox of Windows Server 2016 (GUI) on Mac OS

I have downloaded the Windows Server 2016 iso from Microsoft for evaluation. I then installed it via VirtualBox on my Macbook Pro running the latest Mac OS (High Sierra). I downloaded Docker for ...
12
votes
2answers
6k views

How to use Vagrant and Docker-for-Windows on a Hyper-V system?

Back in the day, I was using VirtualBox (VB) and Vagrant (V) to run VMs. Since I installed docker-for-windows (DfW) and run V, VB complains about Hyper-V (HV). [user@localhost ~]$ vagrant up Stderr: ...
2
votes
0answers
1k views

Windows Service installation on Docker Container [closed]

I am trying to port one of our Tomcat based Windows application to Windows Nano Server Container. The installation process includes two Windows Service installations - an ActiveMQ service and another ...