containerd / containerd/nerdctl
[Rancher Desktop] wsl2 on windows not using current working directory
- Dominant language
- Go
- Stars
- 10.4k
- Forks
- 826
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 44
Description
I'm trying to replace docker desktop with rancher on wsl2 (ubuntu) windows 10.
i can run containers perfectly fine, but when i try to start up my compose project below, it seems like `nerdctl` does not use the current working directory but `/root` instead.
```
❯ ll
total 192K
-rw-r--r-- 1 aspieslechner aspieslechner 1.1K Feb 1 09:14 LICENSE
-rw-r--r-- 1 aspieslechner aspieslechner 2.5K Feb 1 09:14 README.md
drwxr-xr-x 5 aspieslechner aspieslechner 4.0K Feb 1 09:14 client
-rw-r--r-- 1 aspieslechner aspieslechner 670 Feb 1 09:14 docker-compose.yml
-rw-r--r-- 1 aspieslechner aspieslechner 171K Feb 1 09:14 screenshot.png
drwxr-xr-x 5 aspieslechner aspieslechner 4.0K Feb 1 09:14 server
❯ nerdctl compose up -d
FATA[0000] cannot find a compose YAML, supported file names: [docker-compose.yml docker-compose.yaml compose.yml compose
.yaml] in this directory or any parent
❯ nerdctl compose up -d --file ./docker-compose.yml
FATA[0000] open /root/docker-compose.yml: no such file or directory
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.