Hot answers tagged

3

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. Look if these two articles can help you. https://support.symantec.com/us/en/article.tech246815.html https://www.symantec.com/content/dam/symantec/docs/...


3

PS C:\Users\gaius> Write-Output $PSVersionTable.PSVersion Major Minor Build Revision ----- ----- ----- -------- 5 1 17763 592 PS C:\Users\gaius> Write-Output $pwd Path ---- C:\Users\gaius That appears to work as expected, what versions of things are you using? Compare to Linux: gaius@klossy:~$ pwsh ...


2

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 tray and navigate to the Kubernetes tab. Select the checkbox for Enable Kubernetes to start a single-node cluster when starting Docker. Reference: https://medium....


2

Any CI/CD plugin can ultimately be scripted. However, using plugins gives you better centralized control. Consider the following scenario: Your SonarQube server location has to move to a new location. If you are using a script like the example you provided above, you would need to manually update every script. This process is error prone as you may ...


2

You don't need to be a privileged user (in your local machine) in order to execute Ansible playbook. When using Become : Ansible allows you to ‘become’ another user, different from the user that logged into the machine (remote user). for more details see Understanding Privilege Escalation In your inventory of hosts [/etc/ansible/host] you have specified ...


2

Yes. Just use ./ for you current directory that the Docker-compose file is in. Docker-Compose does not allow you to use a context that is located above the compose file, so everything the compose file will use is below the folder with the .yml. Your "working directory" for the compose file is just "./". If you are trying to set a directory below that it ...


2

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 volumes: - D:\App:/app # <- extra space here ports: - "10001:80" - "44378:443"


2

When git is installed it usually doesn't add the diff executable to the path because it would conflict with other versions of diff native to Windows, for example, the Compare-Object alias in PowerShell. You can usually get around this by adding C:\Program Files\Git\usr\ to the path which contains all of the UNIX ports of functionality such diff, grep, awk, ...


2

The problem is twofold: The Win10 LTSB is on its newest version and Docker has stopped supporting this version. This stops Docker from updating. Microsoft has moved to its own container registry and in doing so abandoned support for older Docker versions. So while I was pulling from the right registry it could not find a fitting image. Solution: get an up-...


1

Generally people go the opposite direction and try to get more to run on Linux as it is generally cheaper (e.g. license free). Also, Windows 10 is more of a personal workstation (vs Windows Server). So, it seems like it may be a short term strategy (unless you're just learning on your own). Having said that, the most DevOps standard way to do this would ...


1

Unless you do something distro-specific (i.e. something which depends on the specific version of Windows) there should be no issues.


1

You can try 3 different things- Try pinging https://updates.jenkins-ci.org/download/plugins/ and see if it gets any response. If it doesn't respond then make sure your internet is working fine. You can try installing the plugins by connecting to a VPN. Lastly, you can reinstall Jenkins to see if the error persists.


1

You probably don't want to delete the file, just remove it from your path. You will need to look through your System and Account environment variables and look for PATH and remove C:\Program Files\Docker\Docker\Resources\bin\. There is a good chance it that that will just work, I have both Docker Desktop and gcloud installed on this computer and I don't ...


1

have anyone tried this scenario (gitlab runner + docker on Windows) before, and have some feedback if it works or not? I installed and registered a GitLab Runner on my Windows 10 laptop following the instructions from GitLab Install GitLab Runner on Windows At first, I had trouble pulling the Windows container image: PS C:\GitLab-Runner> docker pull ...


1

There are some fundamental misunderstandings in your bullets which makes your question unclear: Apple will not allow you to develop/build using a virtual system. I believe this is a legal constraint. That said, you can run pretty much anything in VirtualBox as long as you have a legally provided image (e.g. a Linux image). You can only run the Windows ...


1

Looking at your code it seems you try to connect to a Windows host. Usually you connect windows via WinRM and not via ssh The user guide for this can be found here: https://docs.ansible.com/ansible/latest/user_guide/windows_winrm.html For Ansible to communicate to a Windows host and use Windows modules, the Windows host must meet the following ...


1

I agree with Fodil, but I would also recommend using psexec for working with windows. Ansible has a command "win_psexec" that helps to use escalated privileges without using Become.


1

Memory consumption is a metric that has to be reported from inside the guest (EC2 instance). You can use a CloudWatch agent to collect metrics from the guest directly. The agent also supports custom metrics now. Alternatively, install a third party monitoring system. Which also means that you'll have to get an agent running on the EC2 instance. There are ...


1

If I understand Docker Desktop and Hyper-V correctly, volumes are stored inside a MobyLinuxVM. That's right and it seems to be possible to move the whole VM to another drive as described here. Maybe you could solve you problem by using a volume driver as described in the official docs. Another approach is to use a Linux VM with Docker and tell your ...


1

According to https://tickets.puppetlabs.com/browse/PUP-4759 the issue seems to be solved.


1

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\config\daemon.json and add a dns entry with that IP address. For example, if your DNS Server is 192.10.0.2 and 8.8.8.8 is Google's DNS as a backup: { "dns":...


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