Created
March 6, 2018 17:33
-
-
Save calebcase/cb7d4d19a3db1d3ff5075732f9fc82f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias rust='docker run -it --rm --user "$(id -u):$(id -g)" --net=host -v "$(pwd)":"/home/$USER" --workdir="/home/$USER" -e HOME="/home/$USER" -e USER="$USER" rust:latest' | |
cd ~/some-rust-project | |
rust cargo run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment