Category "wsl-2"

Symfony autowiring issues since docker update

I'm having autowiring issues within symfony since I have updated my Docker to the latest version. I am not entirely sure of the causality here but certainly, my

Connect WSL2 SQL Server localhost instance from Windows 10

I had setup a WSL2 Ubuntu. Now I am running a local SQL Server instance on the 1401 port using Docker. Container port: 0.0.0.0:1401->1433/tcp I would like

docker-compose, wsl2 and self signed ssl certificate

So i'm using docker-compose to set up local dev environments while I'm working on Wordpress sites. And now i'm trying to fix so I can get an self signed ssl cer

Failed to set version to docker-desktop: exit code: -1 || WslCommand.cs:line 146

I have installed docker, then WSL2 package updated in win10. But I'm getting below error while running docker-desktop:- System.InvalidOperationException: Faile

Cannot pull the project from Bitbucket (the project is with IP restrictions) while using Docker with WSL2 Ubuntu-20.04 Distro

I've a Symfony project that I am running on my PC with Symfony serve. This project is on Bitbucket that has IP restrictions, I can only work from home and nowhe

WSL2 network unreachable [closed]

A couple of weeks ago, WSL suddenly could not reach any IP addresses nor resolve any domains. Even internal network IPs are not reachable. &g

How to expose Docker TCP socket on WSL2? (WSL-installed Docker, not Docker Desktop)

I want to connect to Docker TCP socket running in WSL2 via PyCharm. I can't seem to expose the socket, I think possibly because there's limited control of docke

How to access docker containers on wsl 2

I am having Ubuntu 20.04 LTS running on wsl 2. I have installed docker according to this guide https://docs.docker.com/engine/install/ubuntu/. I have a stack wi

How to run react native on WSL with android emulator on Windows

I have a react native expo project on WSL2 and I need to run it on an android emulator on Windows, and I am also willing to run the project using yarn start. Ho

WSL-2 DNS is not working with VPN connection on Win 10 [closed]

I have WSL Version 2 running on my Windows 10 Laptop. I'm using the WSL distribution Ubuntu-20.04. When I connect to a VPN network domain name

How to solve "bash: vendor/bin/grumphp: Permission denied" in WSL 2?

docker-compose my-app up -d && docker-compose my-app exec app bash, then vendor/bin/grumphp run worked when my project was on Windows filesystem. Then I

Windows Terminal profile not showing up

I've just installed WSL2 and am using the Windows Terminal on Win10 1909 (18363.1256). I'm trying to set up 2 different profiles, one that launches a local WSL2

WSL2 stopped working with error The system cannot find the path specified

WSL2 stopped working suddenly. If I do a new installation of linux distros. Then it throws the following error, when I click launch button for the linux distro

Where is 'javac' in java-17-openjdk-amd64?

Win10 WSL 2 over an Ubuntu layer Ubuntu: lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release:

How can I raise the limit for open files in Ubuntu 20.04 on WSL2?

My setup looks as follows: Windows 10, Release 1909 (Build 18363.1082), using WSL2 with an Ubuntu 20.04 environment. Everything works nicely most of the time, b

Gitlens hangs when fetching remote repository via WSL

I'm using Gitlens with VS Code via Git installed in WSL2. (I'm using Amazon Linux 2 as my distro). Performing a fetch in either the Remotes or Repositories view

How To Create A New Database For Each Tenant on Laravel Sail, Docker

I'm developing a multi-tenant app first time by using Laravel 8, Tenancy For Laravel on Docker and WSL2. My issue occures when I try to create a tenant. I want

Running Puppeteer on WSL2 controlling the Chrome on Windows

I'm trying to get to run puppeteer on WSL2. I've tried using a remote display via VcXsvr but my firewall settings and host have custom changes and I've frankly

Moving files between different WSL2 instances? [closed]

If it is possible, how can I move files from one WSL instance to another directly? This would be useful when trying out new distributions, e.g

Connect to existing instance of Postgresql from WSL 2

I'm running Ubuntu WSL 2 on Windows 10. Before I installed WSL I already had Postgresql installed on my Windows 10. I wanted to connect to the database from WSL