All Questions
Tagged with windows-subsystem-for-linux docker-compose
150
questions
-1
votes
0
answers
17
views
Mount a CIFS share to a docker container running inside WSL2 Ubuntu
I'm trying to run a Docker container called Unmanic. I want it do be able to access a files from a share on my NAS.
I got Docker Desktop and WSL2 running on pc and the container is up. I can access ...
1
vote
0
answers
22
views
What path in WSL2 maps to the current windows user directory?
Is there a path variable (not a command, not a custom variable I need to create) in WSL2 that maps to the current user's profile directory (e.g. %USERPROFILE%), but is generic for Windows/Mac devices?
...
-1
votes
0
answers
16
views
I cannot run my container (maildev image) without instantly exiting on 139 [closed]
I created a Docker compose with postgres and maildev services. No problems with postgre, but the mail dev instantly exits(139). I checked some posts and that is basically a segfault problem, but i don'...
0
votes
0
answers
42
views
WSL2 VSCode setup with Python SDK pointing to docker container
I am trying to set up a new dev environment using WSL, VSCode and docker. I have fixed connectivity issues(company always on VPN). I am able to run both docker compose(fetching images) and docker ...
0
votes
0
answers
119
views
WSL (774) ERROR: UtilBindVsockAnyPort:286: socket failed 38
I'm trying to execute a Python executable file within an Airflow DAG in a Docker environment and I've encountered this error during execution :
<3>WSL (774) ERROR: UtilBindVsockAnyPort:286: ...
0
votes
0
answers
71
views
WSL docker-desktop distro timezone is not matching host Windows 11 timezone
I'm running docker desktop(WSL2 based engine) on my windows 11 machine to run a couple of .NET api's in containers.
What Im having issue is even though my windows' timezone is set to UTC + 3, neither ...
0
votes
0
answers
26
views
docker-compose config file permissions seems to be ignored
I have following config:
version: "3.8"
configs:
mycustom:
file: ./mycustom.cnf
services:
db:
image: mariadb:10.2
configs:
- source: mycustom
target: /etc/mysql/...
1
vote
1
answer
342
views
What is the most recent version of Docker Desktop that allows reverting to compose V1?
I have recently upgraded my Docker Desktop to v4.29.0. The container setup I'm running doesn't work with Compose V2 and so previously I have unchecked the "Use Docker Compose V2" checkbox in ...
0
votes
1
answer
78
views
Unable to recognise python interpreter path in vscode devcontainer
In wsl, python is not recognised in vscode's devcontainer interpreter settings.
/usr/bin/python3 (path displayed in which python3)
The following were executed in order, but the paths were not ...
0
votes
1
answer
274
views
Java docker-compose permission denied in WSL Docker setup
I got a weird setup where I can't build the java image in wsl docker setup but I can do it in Windows Docker setup. The error is permission denied: unknown. I read that I need to add chmod +x file.sh ...
0
votes
0
answers
36
views
Configure Docker for reading large data in Airflow
I have been trying to learn airflow and I am not very familiar with docker. I have a dataset which is about 300Mb in size. I want to read this file using pandas in airflow environment. But I am unbale ...
0
votes
0
answers
38
views
Permissions for WSL2 with Docker and web server
I'm using WSL2 with an Ubuntu distro.
In the home directory I have a git repository which I access with VSCode via the remote explorer extension. Also the repository has a docker compose file with a ...
0
votes
1
answer
190
views
mysqli::real_connect(): (HY000/2002): Connection refused while running multiple instances of MariaDB container in docker
I am trying to create two instances of MariaDB database in docker (WSL-2) using two different port mapping. I have created two container by following (in a batch file):
::create the volume
docker ...
0
votes
1
answer
416
views
Access localhost in Docker using WSL2 on Windows 11 without using Docker Desktop in 2024?
I just can't make it work. I've tried so many solutions but they error out or just plain don't work.
For example, this worked docker run --rm -ti -p 80:80 nginx while accessing localhost but my Next....
0
votes
1
answer
121
views
WSL2 Docker containers displayed as orphans in PhpStorm
I'm using Windows 11 and PhpStorm (2023.3.2). PhpStorm connects to a WSL2 Ubuntu (22.04 jammy). This Ubuntu has Docker engine installed, it is used for builds and composing dev servers.
PhpStorm is ...