From 3452ec0674c5e763e190cbd9e633a5f33a250295 Mon Sep 17 00:00:00 2001 From: Sergey Nuyanzin Date: Wed, 10 Nov 2021 10:42:14 +0100 Subject: [PATCH] Use correct command to launch sql-client The PR adds 1. Fix the command to launch sql client: ./sql-cli.sh => sql-client.sh 2. Add one liner to start sql-client: ``` docker exec -it $(docker ps -qlf name=sql-cli-for-apache-flink-docker_sql-client) /opt/sql-client/sql-client.sh ``` --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5a6b11a..06af27d 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,12 @@ Apache Flink Web UI is now available at `localhost:8081` To Access the SQL CLI, execute +It could be done via one-line command +``` +docker exec -it $(docker ps -qlf name=sql-cli-for-apache-flink-docker_sql-client) /opt/sql-client/sql-client.sh +``` + +Or step by step instructions ``` docker ps ``` @@ -61,7 +67,7 @@ docker exec -it /bin/bash Finally execute ``` -./sql-cli.sh +./sql-client.sh ``` This will popup Flink sql cli