wsl-2 Questions
9
Solved
I am working with WSL a lot lately because I need some native UNIX tools (and emulators aren't good enough). I noticed that the speed difference when working with NPM/Yarn is incredible.
I conducte...
Fiche asked 29/8, 2021 at 11:29
11
After having read about the performance improvements when running Docker on WSL2, I have been waiting for the official release of Windows 10 that supports WSL2.
I updated Windows and Docker and swi...
Tope asked 2/6, 2020 at 14:12
4
Somehow when I run code . inside the WSL, it simply doesn't do anything. If I which code it does return the VS Code path on windows, but still nothing happens.
Camarillo asked 28/9, 2020 at 20:6
10
I committed an existing Docker container to create a new image but the committed image was way too large (the original image was 3+ GB, and with just a few additional things installed in the contai...
Ianthe asked 25/9, 2020 at 16:41
4
Solved
I'm having an error when installing/updating any pip module in python3. Purging and reinstalling pip and every package I can thing of hasn't helped. Here's the error that I get in response to runni...
4
Solved
I am using Ubuntu on WSL2 (not on Docker Desktop).
According to How to fix docker ‘Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?’ on Ubuntu, I ca...
15
Solved
WSL2 clock goes out of sync after resuming from sleep/hibernate.
A workaround was shared on GitHub sudo hwclock -s to resync clock in WSL, but you have to do this every time you resume from ...
Seigniory asked 1/12, 2020 at 8:14
6
I have WSL installed as well as Docker Desktop.
I tried to clean up docker as much as I could by running
docker system prune -a
docker volume rm $(docker volume ls -q -f dangling=true)
Then...
Fetiparous asked 1/2, 2022 at 19:7
12
Solved
I've just upgraded to Windows 10 Home May 2020, activated WSL2, and installed Docker Desktop.
WSL2 must be installed in my system disk, which is a small SSD. I don't want to fill it with docker ima...
Bolometer asked 18/6, 2020 at 2:21
17
Here is my setup:
Windows 10 PRO - build 19041.153 - insider program - slow ring
Ubuntu 18.04LTS subsystem in WSL2 mode
Docker for desktop 2.2.0.4 - enabled WSL2 integration with my Ubuntu subsyst...
Yordan asked 16/3, 2020 at 14:55
3
Solved
As I know, docker doesn't support any command that change port mapping after make container.
But this answer said that by changing the hostconfig.json file, I can change port mapping.
How do I assi...
5
Solved
I Can't restart wsl2, the command wsl --shutdown and any other wsl command hangs forever.
Also I found the service LxssManager in stopping status also hangs forever.
How can I restart wsl ?
4
I'm using WSL2 on Windows 10.
My dev stack is using a local webserver (localwp or wamp) on the host OS.
I use WSL2 as the main terminal (SSH, Git, SASS, automation tools, ...).
What I need is a way...
Otranto asked 8/1, 2021 at 8:39
1
Solved
I added these lines in my WSL settings files
C:\Users\reynadan\.wslconfig:
[boot]
command=bash /home/reynadan/scripts/startup.sh
/etc/wsl.conf:
[boot]
command=bash /home/reynadan/scripts/startup.s...
Veronica asked 2/12, 2022 at 10:38
18
I'm developing a rails app using WSL2/Ubuntu on my Windows 10 machine, which is great! The problem is I can't connect to my server from another computer in the same network.
For further clar...
Guiltless asked 2/4, 2020 at 23:14
2
Solved
Running elasticsearch in win10 [wsl2] docker-desktop requires to increase mmap counts to 262144 through sysctl -w vm.max_map_count=262144
C:\Users\<username>>wsl -d docker-desktop
<host...
Acetylide asked 16/9, 2021 at 19:43
1
Solved
I started a MongoDB server mongod.exe on my local Win11 machine and want to connect to it with pymongo from within WSL2 (from a Jupyter Notebook started in WSL2; ip address taken from ifconfig belo...
Regime asked 24/7, 2022 at 15:58
7
I am running a local AEM server in my Windows machine. The server is running on localhost:4502. I am using a Ubuntu distribution running in WSL 2 for my development. I want to access the loca...
Cedrickceevah asked 10/11, 2020 at 5:1
2
Solved
I have installed WSL2 and deployed two machines on it:
CentOS
Ubuntu-20.04
It is possible to run multiple instances of the Ubuntu-20.04 instance on my win10 machine?
Prevost asked 5/2, 2021 at 14:52
23
Solved
When moving from WSL1 to WSL2 many things change; apparently this applies to X11 forwarding as well.
What steps do I need to make in order to use X11 forwarding with WSL2 on Windows 10 as I d...
Maddiemadding asked 8/4, 2020 at 21:49
8
How can I run graphical Linux desktop applications from the command line of Windows Subsystem for Linux (WSL)?
First, I installed WSL 2 following these steps on how to install Linux on Window...
Epigrammatize asked 17/5, 2020 at 23:38
2
Solved
I am a big fan of Windows Subsystem for Linux (WSL) and was totally psyched when they announced WSL2. However, the official Docs said that WSL2 isn't as performant as WSL1 when it comes to working ...
Tiffin asked 20/6, 2020 at 7:54
2
Solved
Ever since updating from WSL 1 to WSL 2 with the Windows 10 April 2020 update (and thereafter updating Ubuntu 18 to Ubuntu 20), I have not been able to get nodemon to hot reload when there are file...
Dirge asked 13/8, 2020 at 20:13
1
© 2022 - 2024 — McMap. All rights reserved.