containerd / containerd/nerdctl
FATA[0000] flag -d and --rm cannot be specified together
- Dominant language
- Go
- Stars
- 10.4k
- Forks
- 826
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 44
Description
### What is the problem you're trying to solve
When using colima, the command `docker run --rm -d --name mongo -p 27017:27017 mongo:latest` works fine. However I've been required to switch to nerdctl, and the command `lima nerdctl run --rm -d --name mongo -p 27017:27017 mongo:latest` outputs the error:
```
FATA[0000] flag -d and --rm cannot be specified together
```
### Describe the solution you'd like
Ultimately, I would like to repeatedly be able to start mongo through Docker without getting `name "mongo" is already used by ID "XYZ"` errors. Using the same method with Colima and nerdctl give me different results - I am not particularly fluent with Docker stuff so if this isn't the correct way of doing this then I'm open to suggestions!
### Additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.