Skip to content

Commit 6e57f99

Browse files
committedSep 30, 2023
Fix formatting issue in docker_shell.sh
- docker_shell.sh should now be able to connect to running container instance.
1 parent 0656666 commit 6e57f99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docker_shell.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CURR_DIR="${PWD##*/}"
22

3-
RUNNING_ID="docker ps --format '{{.ID}}' -f 'ancestor=${CURR_DIR}_rails'"
3+
RUNNING_ID="docker ps --format '{{.ID}}' -f 'ancestor=${CURR_DIR}-rails'"
44
if [[ "$RUNNING_ID" == "" ]]; then
55
echo Running new container instance
66
./docker/docker_run.sh ${@:-/bin/bash}

0 commit comments

Comments
 (0)
Please sign in to comment.