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
1 vote
2 answers
11k 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 ...
Ronen's user avatar
  • 13
0 votes
1 answer
93 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 ...
Wojtek Turowicz's user avatar
0 votes
1 answer
225 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 ...
Lamasu's user avatar
  • 1
2 votes
1 answer
4k 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 ...
Wesley Rolnick's user avatar
3 votes
1 answer
90 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 ...
PDHide's user avatar
  • 133
3 votes
1 answer
98 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 ...
John Kugelman's user avatar
1 vote
0 answers
44 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 ...
7_R3X's user avatar
  • 155
2 votes
1 answer
4k 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 ...
Kajsa Gauza's user avatar
0 votes
1 answer
536 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 ...
Justin's user avatar
  • 111
2 votes
1 answer
446 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 ...
Drako's user avatar
  • 121
-1 votes
1 answer
149 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 ...
TheRealVira's user avatar
2 votes
1 answer
1k 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. ...
chetan's user avatar
  • 21
1 vote
0 answers
724 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 ...
kevdog114's user avatar
1 vote
1 answer
1k 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 ...
dingcoder's user avatar
3 votes
1 answer
776 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 ...
Stoopkid's user avatar
  • 141
1 vote
1 answer
460 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?
David West's user avatar
  • 1,413
2 votes
2 answers
1k 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 ...
Paul Rey's user avatar
  • 223
4 votes
2 answers
7k 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 ...
Vish's user avatar
  • 601
1 vote
1 answer
407 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:...
kazakov.nickolay's user avatar
3 votes
2 answers
8k 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....
Saar Grin's user avatar
1 vote
1 answer
599 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 ...
anstue's user avatar
  • 176
3 votes
1 answer
2k views

Minikube - Is there a way to run Windows Containers?

How do I run Windows containers on Minikube? Is it possible?
David West's user avatar
  • 1,413
4 votes
1 answer
4k 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 ...
David West's user avatar
  • 1,413
0 votes
2 answers
401 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;...
Pyrphoros's user avatar
4 votes
1 answer
80 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). ...
xeijin's user avatar
  • 41
2 votes
2 answers
6k 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 ...
Jermoe's user avatar
  • 113
0 votes
1 answer
671 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 ...
dan2k3k4's user avatar
  • 101
13 votes
3 answers
11k 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: ...
030's user avatar
  • 13.1k
2 votes
0 answers
2k 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 ...
Chethan S.'s user avatar
4 votes
3 answers
4k views

Jenkins - sending email after build with the build version as a subject

I would like to send an email at the end of my build to inform success or failure. I'm using the email ext-plugin for Jenkins. I want the version number of the build to be the subject of the email. ...
Noam Ohana's user avatar
1 vote
2 answers
3k views

Debug Docker networking and Windows 10 firewall

Given: Windows 10 / 64 bit Docker edge 17.11-ce-win40 Experiment: docker run -it --rm -p 8888:8080 tomcat:8.0 Expected behaviour: If all network settings are okay, Tomcat must be reachable ...
Ta Mu's user avatar
  • 6,802
4 votes
1 answer
3k views

Jenkins Exception that is caused by stdout redirection using windows cmd

I'm trying to execute an exec file from a jenkins server, using windows cmd. This is what is run from jenkins Windows batch window: C:\MyApp\MyApp.exe When run regularly from command line, the app ...
Noam Ohana's user avatar
4 votes
2 answers
2k views

How to set minikube to auto start on windows log on?

How I can set minikube to auto start on windows 10 login? I checked but I can't find anything on google. I saw that there is a default parameter autostart-enabled=off but I dont know where I can set ...
Alex Bogias's user avatar
0 votes
1 answer
61 views

Multiple git profiles especialy with Atom

I have configured Git to use a specific CA certificate, but how can opt-out for it other than using the switch -c http.sslVerify=false? (or enforce other certificate which seems better in terms of ...
Ta Mu's user avatar
  • 6,802
0 votes
2 answers
54 views

Which Chef software do we need to install for Windows?

I am using Windows 8.1. Which Chef do I need to install to cover all Chef modes like workstation, node, and chef-server? I want all three of these in my Windows 8.1.
Vinodh Machi's user avatar
14 votes
2 answers
11k views

Does Docker allow containers to be OS agnostic?

We currently use a Windows based server to host 2 VMs. One VM uses Windows with a Windows app and the other VM uses Linux with a Linux app. Is the below scenario possible? Bare server with Windows ...
nanonerd's user avatar
  • 241
13 votes
5 answers
5k views

Cannot connect to chocolatey.org or any other internet site from within container

xpost from https://forums.docker.com/t/cannot-connect-to-chocolatey-org/38745 Expected behavior I'm running Windows Server 2016 Datacenter (MSDN download) 64 bit - Version 1607 - Build 14393.1715 I'...
jcolebrand's user avatar
  • 1,255
-3 votes
3 answers
187 views

What approach should I follow for adopting continuous integration?

I have a WAMP server which hosts a Django application by using a Windows server. Currently I am deploying everything manually. Now I want apply Continuous Integration concepts to an existing ...
niran's user avatar
  • 121
5 votes
1 answer
65 views

Docker's value and scenarios in native Windows environment

AFAIK, typically Windows enterprise stack components are quite monolitic services, like Windows IIS and MS SQL Server. Still, there are "Windows containers". Are they indeed runnable in containers ...
Ta Mu's user avatar
  • 6,802
0 votes
1 answer
226 views

Updating Opera browser through command line (Windows)

I'm writing a script that suppose to, among others, update Opera browser on the machine it's running on. Is there a way to update it through cmd? Is there a universal way to do so for any chromium ...
Maboo's user avatar
  • 111
6 votes
1 answer
12k views

What are best practices to solve `All files/directories will have '-rwxr-xr-x' permissions` when building docker images on Windows?

When a docker image is built on a Windows host the following message is returned: SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and ...
030's user avatar
  • 13.1k
5 votes
3 answers
2k views

How to create Golang Linux binaries using a Windows host

When go build is issued on a Windows host a .exe binary is created. How to ensure that a Linux binary is created on a Windows host? The following was tried, but did not solve the issue: GOOS=linux;...
030's user avatar
  • 13.1k
1 vote
1 answer
3k views

How to access local Docker storage on Windows 10?

Where does Docker daemon store image and container data on the local disk ?
Ta Mu's user avatar
  • 6,802
2 votes
1 answer
5k views

How to enable debug mode for Docker client on Windows 10?

By default, Docker client is not in debug mode. How to enable it? > docker info .. Debug Mode (client): false Debug Mode (server): true .. If I try following docker --help ...
Ta Mu's user avatar
  • 6,802
4 votes
2 answers
2k views

Strange behaviour of Docker CE/EE client on Windows - timeout for certain image layers

With a private registry, I cannot pull images because certains image layers fail to download. The pattern seems to be that this happens with larger, 50MB sized layers. It shouldn't be a registry ...
Ta Mu's user avatar
  • 6,802
12 votes
2 answers
23k views

How to configure Docker tooling on Eclipse?

The Eclipse plugin "Docker tooling" seems to expect the installation of Docker Machine, or a network connection. But, on Windows 10 things seem different from what this plugin expects so I can't ...
Ta Mu's user avatar
  • 6,802
4 votes
1 answer
13k views

Configure Docker to use SSL for a private registry on Windows 10?

Trying to use a customer registry from a Windows 10 system - a native Docker client in PowerShell. PS > docker --version Docker version 17.06.0-ce, build 02c1287 PS > docker pull REPO_URL/...
Ta Mu's user avatar
  • 6,802
4 votes
1 answer
104 views

Who redirect ports on Windows to access http container?

When we use Linux, Docker can create a rule using iptables to do a port redirection to connect in the http of a container. When we use Windows, how does this work?
user2935's user avatar
-1 votes
2 answers
647 views

Windows Container (Nano Server) with ASP.NET Core

I'm trying to make an Windows Nano Server container that runs an ASP.NET Core app. I'm building it on Windows Server 2016. I can make it work, but there is one odd problem. The only way I can make ...
Dave Swersky's user avatar
  • 4,068
3 votes
1 answer
821 views

How to insert a minion Powershell variable into Salt Pillar or Mine?

Say I have a Powershell script, named test.ps1, that has this: $VariableForPillar = 5 I can call it from a Salt state with - test powershell run: cmd.run: - name: 'C:\Windows\System32\...
Michael B's user avatar
  • 253