docker on wsl2 very slow

This comes from the “vmmem” which consumes as much resource as it can. To solve the problem just go to your user file for me in C:\Users\userName In this directory create a file named “.wslconfig” in which you will configure how many resources can consume WSL2: [wsl2] memory=900MB #Limits VM memory in WSL 2 to … Read more

Does MAX_PATH issue still exists in Windows 10

The issue will be always present in Windows, to keep compatibility with old software. Use the NT-style name syntax “\\?\D:\very long path” to workaround this issue. In Windows 10 (Version 1607 – Anniversary Update) and Windows Server 2016 you seem to have an option to ignore the MAX_PATH issue by overriding a group policy entry … Read more

How to connect to docker host from container on Windows 10 (Docker for Windows)

Short answer: in most cases, you’ll need 10.0.75.1 . In Docker for Windows, the container communicates through a vEthernet adapter called DockerNAT. To find its details, open Command Prompt and type ipconfig Look for an entry that looks like Ethernet adapter vEthernet (DockerNAT): Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . … Read more

Bridged networking not working in Virtualbox under Windows 10 [closed]

First of all you have to create a VirtualBox Host-Only Ethernet adapter In Virtualbox : Go to File > Preferences On the Network tab select Host only Networks click on “add a Host-only adapter” give it a name by default it is “VirtualBox Host-Only Ethernet adapter” In Windows : go to Network connections on Windows … Read more

chmod WSL (Bash) doesn’t work

To enable changing file owners & permissions, you need to edit /etc/wsl.conf and insert the below config options: [automount] options = “metadata” Do this inside the WSL shell, potentially needing sudo to edit/create the file. This may require restarting WSL (such as with wsl –shutdown which is a Windows command, not one within WSL) or … Read more

Hyper-V: Create shared folder between host and guest with internal network

Share Files, Folders or Drives Between Host and Hyper-V Virtual Machine Prerequisites Make sure you have a Pro or Enterprise version of the Windows OS. The Home version does not provide you with this functionality! From the official documentation: The virtual machine must have Remote Desktop Services enabled, and run Windows 10, Windows 8.1, Windows … Read more

Open .net framework 4.5 project in VS 2022. Is there any workaround?

Download Microsoft.NETFramework.ReferenceAssemblies.net45 from nuget.org Open the package as zip copy the files from build\.NETFramework\v4.5\ to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5 For more details: Building a project that target .NET Framework 4.5 in Visual Studio 2022

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)