Skip to content

Commit 0b0a07a

Browse files
committed
container: fix bug in make dockerdev
Recent commit ace02fe introduced versioning for the app container. The commit introduced a bug that causes `make dockerdev` to fail when there is a stopped container that matches the current version. This fixes the bug.
1 parent 7356e0d commit 0b0a07a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/dockerdev.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dockerdev () {
4141
fi
4242

4343
# A container based on a different image version is running. Let's stop and remove it.
44-
if $RUNTIME ps | grep -q $container_name; then
44+
if $RUNTIME ps -a | grep -q $container_name; then
4545
$RUNTIME stop $container_name
4646
$RUNTIME rm $container_name
4747
fi

0 commit comments

Comments
 (0)