From 16681cb648144a406e77ea7499aa5ef4ba010e38 Mon Sep 17 00:00:00 2001 From: hawm Date: Wed, 4 Sep 2019 14:19:48 +0800 Subject: [PATCH] Fix docker image name (#8058) --- bin/docker/reset_db | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/docker/reset_db b/bin/docker/reset_db index 22ee77d1f23..3754af2df16 100755 --- a/bin/docker/reset_db +++ b/bin/docker/reset_db @@ -5,7 +5,7 @@ DATA_DIR=$SOURCE_DIR/data/postgres # Should this also run /etc/runit/1.d/ensure_database, or will that # happen automatically? -- It will happen, but restarting the container is required -docker run -it -v $DATA_DIR:/shared/postgres_data discourse/dev /bin/bash -c "rm -fr /shared/postgres_data/*" +docker run -it -v $DATA_DIR:/shared/postgres_data discourse/discourse_dev:release /bin/bash -c "rm -fr /shared/postgres_data/*" docker restart discourse_dev echo "Creating admin user..." "${SCRIPTPATH}/rake" admin:create