We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0656666 commit 6e57f99Copy full SHA for 6e57f99
docker_shell.sh
@@ -1,6 +1,6 @@
1
CURR_DIR="${PWD##*/}"
2
3
-RUNNING_ID="docker ps --format '{{.ID}}' -f 'ancestor=${CURR_DIR}_rails'"
+RUNNING_ID="docker ps --format '{{.ID}}' -f 'ancestor=${CURR_DIR}-rails'"
4
if [[ "$RUNNING_ID" == "" ]]; then
5
echo Running new container instance
6
./docker/docker_run.sh ${@:-/bin/bash}
0 commit comments