Warning
This post was published 99 days ago. The information described in this article may have changed.
I'd like to share a project repo with a container via a local volume in order to build and run code in it. And I'd like to share cargo's dependency cache, otherwise deps will be redownloaded and rebuilt quite a lot.
Is it ok to share ~/.cargo/registry
for this?
And should I share anything else?
services:
app:
volumes:
- ~/repo:/home/appuser/repo
- ~/.cargo/registry:/home/appuser/.cargo/registry
4 posts - 3 participants
🏷️ rust_feed