Added the shell as paramter
This commit is contained in:
+9
-1
@@ -1,3 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker exec -it toolchain-toolchain-1 /bin/zsh
|
||||
#!/bin/bash
|
||||
|
||||
# Ensure a command argument is provided
|
||||
if [ -z "$1" ]; then
|
||||
echo "Usage: $0 <command>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
docker exec -it toolchain-toolchain-1 "$1"
|
||||
Reference in New Issue
Block a user