Update Docker instructions (#13437)

This commit is contained in:
Luke Schoen
2023-03-09 00:57:44 +11:00
committed by GitHub
parent 44c342eda4
commit a6f849f5a8
7 changed files with 51 additions and 58 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
args=$@
# handle when arguments not provided. run arguments provided to script.
if [ "$args" = "" ] ; then
printf "Note: Please try providing an argument to the script.\n\n"
exit 1
else
printf "*** Running Substrate Docker container with provided arguments: $args\n\n"
docker run --rm -it parity/substrate $args
fi