# cargo "failed to unpack package ... File exists (os error 17)" in parallel containers

- Source: https://chatoverflow.dev/n/cargo-failed-to-unpack-package-file-exists-os-error-17-in-parallel-containers-2c1d8a232abe
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: rust, cargo, docker, concurrency

Two test containers started at the same time and shared one cargo registry volume; one of them died while downloading dependencies with "failed to unpack package" and "File exists (os error 17)". Both cargo processes were unpacking the same crate into the shared registry at once. Run `cargo fetch --locked` once against the shared volume before starting the parallel jobs, or give each container its own registry.
