Hot answers tagged

12 votes

How to configure Docker tooling on Eclipse?

Under Windows 10, you'll find the Docker Machine (docker-machine.exe) under: C:\Program Files\Docker\Docker\resources\bin This is the value you need to put in the Docker Machine field. You don't need ...
user avatar
10 votes
Accepted

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

The official Docker documentation says: Docker recognizes certs stored under Trust Root Certification Authorities or Intermediate Certification Authorities. That is, you can proceed as the ...
user avatar
10 votes

Does Docker allow containers to be OS agnostic?

Does the Docker engine abstract away the OS such that this configuration will run both apps? No, it does not. Docker uses containerisation as a core technology, which relies on the concept of sharing ...
user avatar
  • 1,345
9 votes
Accepted

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

Confirmed by this answer on SO referencing Microsoft technet once Hyper-V is activated it mask the VT-X instructions of the processor to the OS on top of it and windows run like a guest. Docker for ...
user avatar
  • 11.1k
8 votes
Accepted

Docker compose volume syntax valid for Windows and Linux

Yes. Just use ./ for you current directory that the Docker-compose file is in. Your "working directory" for the compose file is just "./". If you are trying to set a directory ...
user avatar
7 votes
Accepted

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

I think have found out why this graph looks like this. I am also gathering metrics for the ASP.NET Applications / Errors Total performance counter, and I have noticed that exactly at the same time ...
user avatar
7 votes

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

I've seen this same "sawtooth" pattern in other systems, in particular a Java-based data tool. Based on your description, I think you're looking at .NET garbage collection (assuming this is a .NET ...
user avatar
  • 3,973
6 votes
Accepted

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

The problem appears to be that the Windows images configure DNS to first be the default gateway of the NAT interface, and then the DNS of the host machine. DNS lookups fail against that first ...
user avatar
6 votes
Accepted

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

To answer the question of how to enforce something locally, you can't without doing some very heavy lifting around managing and enforcing the state of every developers workstation, and I'm usually of ...
user avatar
  • 1,634
6 votes
Accepted

Minikube - Is there a way to run Windows Containers?

It is not officially supported (as of Minikube 0.25.0, Kubernetes 1.9, January 2018). But there is Beta support for Windows server containers in Kubernetes. These articles contain more information: ...
user avatar
  • 306
5 votes

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

Should the normal startup functionality of w10 work? To change which apps run at startup, press and hold (or right-click) the Start button, select Task Manager, and then select the Startup tab. ...
user avatar
  • 525
4 votes

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

We require a review process using Pull requests in github onto our main dev or master branches. During that review process, we will mark pull requests as requiring changes if many files have white ...
user avatar
  • 1,269
4 votes
Accepted

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

It is not currently possible to disable that warning, see discussions on Issue 20397: That warning was added, because the Windows filesystem does not have an option to mark a file as 'executable'....
user avatar
4 votes
Accepted

How to create Golang Linux binaries using a Windows host

You can easily set the target operating system and processor architecture using the environment variables GOOS and GOARCH respectively. So, as you want to build it for linux operating system, ...
user avatar
  • 360
4 votes
Accepted

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

You can only insert the return into the mine. Just specify the cmd.run (or possibly cmd.script) in your mine_functions and you will get the whole return back. If you want to have a script that sets ...
user avatar
  • 301
4 votes

What approach should I follow for adopting continuous integration?

I am in a similar pair of shoes as you - I am currently, slowly, getting into the DevOps topics after having many, many years of conventional development (and close connections to conventional ops) ...
user avatar
  • 4,716
4 votes

Which Chef software do we need to install for Windows?

A node in chef terminology is a machine managed with chef-client. Chef-client is available for various OS, windows, Linux, Aix, Mac etc. However the chef-server is only available for linux.
user avatar
  • 11.1k
4 votes

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

A few years later this thread is still the first result in Google, but running Docker+Vagrant (with VirtualBox) on Windows isn't a challenge anymore. You can easily run them both, as described here If ...
user avatar
  • 141
3 votes

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

At a command prompt run ipconfig /all and look for a DNS Servers line in the output with something that looks like an IP address. That's your host machine's DNS server(s). Edit C:\ProgramData\Docker\...
user avatar
3 votes

What approach should I follow for adopting continuous integration?

As you are already using Bitbucket, Bitbucket pipelines could be useful. What languages are supported? Node, Ruby, Python, PHP, and more. Anything you can run in a Docker container is ...
user avatar
  • 12.6k
3 votes

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

You could use per repository config to override the user's config on a per-repository basis. When done on the repo considered to be the central source it should propagate with clones and pulls to ...
user avatar
  • 1,851
3 votes

Who redirect ports on Windows to access http container?

it uses the Hyper-V Virtual Switch (https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/container-networking)
user avatar
  • 216
3 votes

How to create Golang Linux binaries using a Windows host

It seems that docker build opens a new shell and export is needed. The following command created a Linux binary: export GOOS=linux; go build hello-world.go
user avatar
  • 12.6k
3 votes

Which Chef software do we need to install for Windows?

To clear which module you need to install & where, just go through the terminology of chef at chef.io For workstation, you need to install chefDK For node, you need to install chefclient For ...
user avatar
3 votes

Docker compose volume syntax valid for Windows and Linux

PS C:\Users\gaius> Write-Output $PSVersionTable.PSVersion Major Minor Build Revision ----- ----- ----- -------- 5 1 17763 592 PS C:\Users\gaius> Write-Output $pwd Path ...
user avatar
  • 1,076
3 votes

Why does my Docker composer not work with volume?

It seems there is a spacing issue in your yaml You should change the compose file to version : '3.4' services: testando-volume-compartilhado-a: image: carloshenriquecarniatto/teste:latest ...
3 votes

What about installing an Antivirus on Windows K8s nodes?

I don't have much experience with Symantec (I don't really like the product). But searching on Google apparently has some steps to set up, as they don't natively support Kuberentes as an application. ...
user avatar
3 votes
Accepted

No Kubernetes Option in Docker Desktop for Windows

You need to first switch to Edge version by going to the Docker -> Settings -> General tab. Then, you have to enable the kubernetes. Open Docker for Windows settings by accessing your system ...
user avatar
  • 951
2 votes

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

Been hit by this just today after a fresh install so here's how I got over it: From your logs (emphasis is mine): fatal: unable to access ... : schannel: next InitializeSecurityContext failed: ...
user avatar
  • 11.1k
2 votes

Ansible sporadic errors with Windows machines

You should probably create an Ansible issue for this as it's most likely a bug in Ansible. The first error makes me think about WinRM pipelining: Ansible 2.3.0 introduced an always-on WinRM ...
user avatar
  • 812

Only top scored, non community-wiki answers of a minimum length are eligible