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
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
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
13 votes
3 answers
362 views

How are you enforcing git behavior, including locally (particularly on Windows)?

I'm taking point on moving this .NET shop from svn to git, and have identified some ancillary issues I'd like to have a solution for before we flip the switch. The one I'm asking about in particular ...
ndarwincorn's user avatar
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
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
10 votes
5 answers
34k 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 ...
Bruce Becker's user avatar
  • 3,570
10 votes
2 answers
494 views

Memory being abruptly freed up every day at about the same time

I have a few VMs on Windows Azure that run our ecommerce website, and lately we started using Telegraf, InfluxDb and Grafana to keep an eye on these machines. After a couple weeks of gathering data, I ...
António Sérgio Simões's user avatar
10 votes
2 answers
9k views

Git seems to recognize http.sslcainfo property from .gitconfig but ignores it on execution? SEC_E_UNTRUSTED_ROOT

all, I have a working certificates chain (testable with OpenSSL) but somehow I cannot manage to tell Git to load these certificates. I get the same "untrusted root authority" error (...
Ta Mu's user avatar
  • 6,802
8 votes
2 answers
2k views

Ansible sporadic errors with Windows machines

I'm running into some on and off issues when using windows hosts in my Ansible playbooks. I'm running Ansible 2.3 with pywinrm 0.2.2 installed. I'm using basic authentication with the local ...
Asaf Haim's user avatar
  • 161
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
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
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
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
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
4 votes
2 answers
9k 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
4 votes
2 answers
6k 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
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

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
4 votes
1 answer
630 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
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
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
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
4 votes
0 answers
226 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
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
3 votes
1 answer
820 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
3 votes
1 answer
565 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
3 votes
1 answer
383 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
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
3 votes
1 answer
775 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
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
3 votes
1 answer
225 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
3 votes
0 answers
989 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
4 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
  • 23
2 votes
2 answers
606 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
2 votes
1 answer
25k 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
2 votes
1 answer
142 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
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
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
2 votes
1 answer
499 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, ...
Emerson Cardoso's user avatar
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
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
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
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
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
2 votes
0 answers
38 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
2 votes
2 answers
4k 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-...
Vy Do's user avatar
  • 151
2 votes
0 answers
21 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
2 votes
1 answer
506 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