Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For my configurations, enabling mounts with '--mount' is more verbose but works fine. https://docs.docker.com/storage/bind-mounts/


Are those flags not essentially synonymous (with perhaps slightly different syntax for their argument)?

… I had noticed that `--mount` in other contexts appears to work, but I have not had the time to investigate why or how that is.

(We've also had bugs with Docker proper in the past where they broke --mount but only for certain paths on the host.)


In my mental map, yes, but in practice, they act a little differently than my intuition. Even on past non-colima docker usage, I came across surprises w/ `-v` vs `--mount` and so generally try both if I'm having problems.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: