Skip to content

Commit cb5e04e

Browse files
committed
fixed requested changes: remove stopped container #3488
1 parent 0fbde7d commit cb5e04e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/start_container.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ TOKEN=$(openssl rand -hex 24)
77
CONTAINER_NAME=${CONTAINER_NAME:-pymc3}
88

99
# stop and remove previous instances of the pymc3 container to avoid naming conflicts
10-
if [[ $(docker ps -q -f name=${CONTAINER_NAME}) ]]; then
10+
if [[ $(docker ps -aq -f name=${CONTAINER_NAME}) ]]; then
1111
echo "Shutting down and removing previous instance of ${CONTAINER_NAME} container..."
1212
docker rm -f ${CONTAINER_NAME}
1313
fi

0 commit comments

Comments
 (0)