Closed Aaron1011 closed 3 years ago
That's a good catch, thank you. Will verify and update the docs.
Unfortunately mounting /root/.cargo
causes the container to complain that it cannot find the cargo
binary (in ~/.cargo/bin/
), so the only sensible thing I can do here atm is to suggest mounting both directories.
Going to close this for now. Re-open if people think there are reasonable actions. I don't see any atm.
Mounting the
cargo-cache
volume at/root/.cargo/registry
excludes the/root/.cargo/git
directory. This causes Cargo to re-fetch all Git dependencies on each build, which can be quite slow.