https://rancher.com/ logo
#rancher-desktop
Title
# rancher-desktop
c

colossal-petabyte-46557

07/21/2022, 7:10 AM
I posted this queston already in the wrong channel, so here is my second try: I have switched from Docker Desktop to Rancher. Now I have the problem that when I start a container via docker-compose, I get the following error: "Error response from daemon: create \\wsl$\Ubuntu\home\david\projects\test\.configuration\docker\test.linux.dev \docker-data\mysql: "\\\\wsl$\\Ubuntu\\home\\david\\projects\\test\\.configuration\\docker\\test.linux.dev\\do cker-data\\mysql" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path" Can I start the container from windows even though the volumes are in wsl?
j

jolly-forest-99711

07/21/2022, 9:51 PM
I'm not familiar with how the mounts work on Windows - @proud-jewelry-46860 any chance you could weigh in? It might be an issue with the path too
p

proud-jewelry-46860

07/21/2022, 9:53 PM
You're trying to start a container (from Windows, e.g. PowerShell), with a volume mounted from a WSL distribution? Or are you doing it from within WSL?
c

colossal-petabyte-46557

07/25/2022, 1:38 PM
Actually im trying to access a wsl-directory from Windows (in PHPStorm). Within WSl ist works for me in the bash
21 Views