All Questions
Tagged with wsl or windows-subsystem-for-linux
5,994 questions
0
votes
1
answer
56
views
Azure Event Hubs Local Emulator Startup Issue on Docker + WSL without Docker Desktop
Trying to stand up a local Azure Event Hub emulator by following the documentation using docker compose installed on WSL 2 Ubuntu-24.04 distro on Windows 11.
The docker compose file looks like this:
...
-2
votes
0
answers
44
views
Nested virtualization isn't working within WSL2, VMX is supported on host Windows but not guest Linux [migrated]
My goal is to create and run Linux filesystem image using Qemu on Ubuntu. I only have Windows devices, so I've been using the only machine (Windows 10 Home OS) that supports virtualization to use WSL2 ...
0
votes
1
answer
47
views
This document is trying to connect to: wsl.localhost
I'm trying to generate a PDF from a web application using Puppeteer. When I open the PDF in Acrobat Reader I get a warning: "This document is trying to connect to: wsl.localhost" The PDF ...
Advice
1
vote
12
replies
271
views
I am having problems reading a binary file into a 32 bit unsigned int and printing them to an output file
I am working on a project for a Computer Architecture class, where we are learning about MIPS and assembly language. The program takes a .bin as input and outputs a .txt. I am to take a binary MIPS ...
Advice
0
votes
2
replies
75
views
G++ Not recognizing .bin file as input
I am making a program for a college class that takes a .bin file as input and eventually spits out a .txt file as output. For testing, I had to make a smaller program that does the reverse, which I ...
Advice
1
vote
20
replies
339
views
How to convert a .txt file of 0's and 1's to a .bin?
I am working on a project in which the first part I am to take a .txt file of 0's and 1's and convert it to a .bin file, of which I create a second program that takes that .bin file. I've been quite ...
0
votes
1
answer
54
views
Miniconda installer segfaults in WSL2 (Debian/Ubuntu), constructor --extract-tarball fails with Exit 141 / Segmentation fault
I'm trying to install Miniconda in WSL2, but the official installer always fails during payload extraction. The script reports Exit 141 and then Segmentation fault in constructor --extract-tarball. ...
0
votes
0
answers
118
views
Docker outside of docker in devcontainer on WSL
How to properly mount devcontainer localWorkspaceFolder from WSL as workspace so "docker outside of docker" works in Intellij IDEA? :D
I have a project in WSL opened in IntelliJ IDEA and ...
0
votes
1
answer
124
views
Segmentation fault when using rwlock in shared memory
I'm trying to create a server/client library where the server reads and decodes images from a camera and the clients read the decoded frames from the shared memory. In order to do this, i wanted to ...
Tooling
0
votes
0
replies
38
views
Enabling Next.js HMR on Windows Without Polling or WSL Filesystem
We have a project built with Next.js and PostgreSQL. The application runs on localhost:3000, and the database runs on localhost:8080. The project was originally designed to run on Linux and macOS, but ...
1
vote
1
answer
214
views
Cross-compiling for ARM64 using Visual Studio and WSL2 is generating x64 binary
I was using VS2026, but have switched back to VS2022 for now. The project is a MSBuild project, not a CMake project. I have the C++ ARM64/ARM64EC build tools installed (latest) and I have all the ...
Tooling
0
votes
5
replies
43
views
How can I make a Docker container running on Windows (WSL2) accessible from a Raspberry Pi on the same network?
I was running a WASP node (for IOTA) inside Docker on Windows using WSL2. I wanted to access its JSON-RPC API from a Raspberry Pi on the same local network. However, despite exposing ports in Docker, ...
1
vote
0
answers
125
views
How do I configure VSCode IntelliSense to use my local GCC trunk build?
I have built GCC 16.0 trunk in order to test out the new C++26 reflection capabilities. I am developing using WSL (Ubuntu) and VSCode.
As it stands, I have the following basic example in a simple ...
0
votes
1
answer
126
views
Cannot attach to the container with name/id <container name>, it no longer exists
PC Setup:
Windows 11 + WSL2
Docker Engine installed in WSL2 (no Docker Desktop installed on Windows)
VSCode (occured with various versions of VSCode and extensions)
Extension: Dev Containers
...
Advice
0
votes
4
replies
71
views
How to get config/utility files of vim in SUSE Linux
I had a hard time configurating Vim writing vimrc and other files, so I delete the directory indicated by $VIMRUNTIME, which in Suse was /usr/share/vim to start fresh. Then I reinstalled Vim, but now ...