-
Notifications
You must be signed in to change notification settings - Fork 419
Closed
Labels
Description
Maintainer's Note: This has become a meta-issue of multiple bugs all causing the host toolchain to not be mounted in the container, and includes:
- Docker in Docker (Docker in docker #387)
- Nix Store (docker: Add Nix Store volume support #524)
- Remote Docker support (Recommended GitLab usage #273, Add comprehensive support for remote docker. #785)
- WSL2
- WSL2 Docker-in-Docker (Cannot run
cross
in Docker in Docker in WSL #728) - Running cross in parallel (Error when building in parallel:
sh: 1: cargo: not found
#496) - Docker-in-Docker Fails to mount host dirs (Docker in Docker doesn't seem to find / forward the volume mounts #1283)
The build fails on a Docker container with sh: 1: cargo: not found
, the Docker container is run with a custom image that contains Docker with a wrapper to have DinD working, and Rust nightly docker run -it -v
pwd:/var/tmp -v /var/run/docker.sock:/var/run/docker.sock kariae/docker-rust-nightly sh
the command fails with sh: 1: cargo: not found
balboah, radicand, hu55a1n1, kajalsinha, bfjelds and 10 more