Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Update build_docker.sh help command

天舟444c986f3a3e
diff --git a/build_docker.sh b/build_docker.sh
index dcf0a4f121..403332b8e5 100755
--- a/build_docker.sh
+++ b/build_docker.sh
@@ -29,13 +29,13 @@ echo "$ docker tag bytebase/bytebase bytebase/bytebase:${VERSION}; docker push b
echo ""
echo "Command to start Bytebase on http://localhost:8080"
echo ""
-echo "$ docker run -d --init --name bytebase --restart always --publish 8080:80 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase --data /var/opt/bytebase --host http://localhost --port 8080"
+echo "$ docker run --init --name bytebase --restart always --publish 8080:8080 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase:${VERSION} --data /var/opt/bytebase --host http://localhost --port 8080"
echo ""
echo "Command to start Bytebase in demo mode on http://example.com"
echo ""
-echo "$ docker run -d --init --name bytebase --restart always --publish 80:80 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase --data /var/opt/bytebase --host http://example.com --port 80 --demo"
+echo "$ docker run --init --name bytebase --restart always --publish 80:80 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase:${VERSION} --data /var/opt/bytebase --host http://example.com --demo"
echo ""
echo "Command to start Bytebase in readonly mode on http://example.com"
echo ""
-echo "$ docker run -d --init --name bytebase --restart always --publish 80:80 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase --data /var/opt/bytebase --host http://example.com --port 80 --readonly"
+echo "$ docker run --init --name bytebase --restart always --publish 80:80 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase:${VERSION} --data /var/opt/bytebase --host http://example.com --readonly"
echo ""
\ No newline at end of file