From 481e63aa6c2e72eec71fa2d77d03608d4614c93c Mon Sep 17 00:00:00 2001 From: Kould <2435992353@qq.com> Date: Thu, 28 Mar 2024 23:06:19 +0800 Subject: [PATCH] docker: add dockerhub image on README.md (#186) --- README.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5069ac3c..5922716a 100755 --- a/README.md +++ b/README.md @@ -18,13 +18,14 @@ Built by @KipData

-   - CI -     +

+

+ CI +

@@ -60,13 +61,18 @@ Storage Support: - KipDB ### Docker +#### Pull Image +```shell +docker pull kould23333/fncksql:latest +``` #### Build From Source ~~~shell git clone https://github.com/KipData/FnckSQL.git cd FnckSQL -docker build -t fncksql:latest . +docker build -t kould23333/fncksql:latest . ~~~ +#### Run We installed the `psql` tool in the image for easy debug. You can use `psql -h 127.0.0.1 -p 5432` to do this. @@ -78,7 +84,7 @@ docker run -d \ --restart=always \ -v fncksql-data:/fnck_sql/fncksql_data \ -v /etc/localtime:/etc/localtime:ro \ -fncksql:latest +kould23333/fncksql:latest ~~~ ### Features