Skip to content

Commit 8c25733

Browse files
authored
Merge pull request #46 from ClickHouse/starrocks-install
Starrocks: Improve install/uninstall scripts
2 parents 09d029a + deeecd2 commit 8c25733

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

starrocks/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ sudo snap install docker
44
sudo apt-get update
55
sudo apt-get install -y mysql-client
66

7-
docker run -p 9030:9030 -p 8030:8030 -p 8040:8040 -itd --name quickstart starrocks/allin1-ubuntu
7+
docker run -p 9030:9030 -p 8030:8030 -p 8040:8040 -itd --name starrocks starrocks/allin1-ubuntu

starrocks/uninstall.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#!/bin/bash
22

3-
# stop and remove all docker containers
4-
docker stop $(docker ps -a -q)
5-
docker rm $(docker ps -a -q)
3+
docker stop starrocks
4+
docker rm starrocks
65

76
sudo apt-get remove -y mysql-client
87
sudo snap remove --purge docker

0 commit comments

Comments
 (0)