Hot answers tagged

8

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 to change anything for the VM Driver field as VirtualBox doesn't need to be installed when you use Docker for Windows. Then you have to edit some setting of ...


7

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 that a memory available surge happens, the Total Errors metric resets to 0. According to msdn this counter resets to 0 everytime an application restart/shutdown ...


7

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 app.) Java and .NET are both memory-managed languages and frameworks that use garbage collection. A memory leak is typically found in frameworks that lack ...


7

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 Windows need hyper-V to work, so disabling it is not really an option. There's no way to have virtual box running on top of Hyper-V and that's quite normal, ...


6

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 following: Start > "Manage Computer Certificates" (also available in the control panel) Right-click on "Trusted Root Certification Authoritites" > "All tasks" > "...


6

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 the opinion that developers should probably be local admins on their development machine because if they aren't then they will just spend their time figuring ...


6

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 a kernel between containers. If one Docker image relies on a Windows kernel and another relies on a Linux kernel, you cannot run those two images on the same ...


5

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 resolver and external access. Adding --dns 8.8.8.8 (or your local resolver) to the CLI seems to work around the problem.


5

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: http://blog.kubernetes.io/2018/01/kubernetes-v19-beta-windows-support.html https://kubernetes.io/docs/getting-started-guides/windows


4

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 space or line ending differences, and insist that they follow the formatting of the dev or master branch they are making the pull request for. There are also some ...


4

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 up extra config on the minion, I would recommend writing a custom grain. https://docs.saltstack.com/en/latest/topics/grains/#writing-grains


4

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.


3

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) behind me. You seem to have read a few articles, or heard a few things. That is good. Let me suggest a practical approach how to go on: Take your favourite ...


3

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 supported. why not jenkins? Jenkins could be an option as well. If Bitbucket could trigger Jenkins or Jenkins could check whether there are code changes.


3

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 other repos including local ones thus overriding centrally the local config. You can further enforce this through hooks in your central repo to check that file ...


3

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'. Building a linux image from a Windows machine would therefore break the image if a file has to be marked executable. For that reason, files are ...


3

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


3

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


3

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 chef server, you need to install chefserver - not available for windows Note: Always use the stable and latest version of the above-mentioned components.Hope ...


3

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. Choose an app, then select Enable or Disable. To add or remove an app from the Startup tab, press the Windows Logo Key + R, type shell:startup, and then ...


2

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: git is configured to use schannel (windows native implementation), but schannel use windows certs bundle and not a the cainfo bundle. To switch to openssl to use ...


2

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 pipelining feature (similar to SSH pipelining), and that may be behind this. SSH pipelining can cause issues in Ansible for Linux, and it can be useful to turn it off,...


2

Yeah go nuts, you can run whatever you want in the container so long as the host supports virtualisation and can run the docker binary!


2

As comments are transient, here's some info for the next person trying to solve this problem. Please feel free to edit this answer to provide more details, unless you're a Docker for Windows pro, in which case please give a better answer :D I went to demo the problem for my IT group after having changed my NIC on my VM to bridged and adding my thunderbolt ...


2

You've chosen a fairly difficult stack to support. WAMP is largely used in dev environments, and the windows builds of mysql, php, and apache typically lag their Linux counterparts by a significant amount. You can likely reuse your code, barring any hard coded or absolute paths, on Linux. Once you move to Linux, there are lots of great deployment options, ...


2

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, following command with above environment variables will do, $ GOOS=linux GOARCH=amd64 go build -o hello main.go Here is the list of all the supported operating ...


2

Are they indeed runnable in containers and this makes sense? According to this documentation it is possible to run windows in docker. Yes it could make sense as this would be comparable to the positive effects of running linux in docker. Note that: Disclaimer: This lab is still in work, and is based off of the blog, but you can test and leverage the ...


2

You'd better add this CA to a bundle of valid CA and keep using it for all cases with git config --add --global http.sslcainfo=/path/to/cabundle git config --add --global http.sslbackend=openssl Using https://curl.haxx.se/docs/caextract.html as starting CA bundle sounds a good idea in my opinion.


2

You could create a bat script minikube start and add it as a scheduled job that start on start up of windows


2

I found out how to do it without pipeline. It only has to do with command line script: start "" C:\MyApp\MyApp.exe >> text.txt This call is asynchronous (i.e., the command line won't wait for MyApp.exe to return). If you want it to wait, you can use the /w flag, like this: start /w "" C:\MyApp\MyApp.exe >> text.txt


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