From def7d6fb6a3e01718d2f5d031005322f4e1610d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=81=93=E8=BE=95?= Date: Wed, 11 Oct 2023 15:19:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Edockerhub=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 17 ++++++++++++----- README_ZH.md | 15 ++++++++++----- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 85141caab..b8141892a 100644 --- a/README.md +++ b/README.md @@ -123,11 +123,18 @@ pip install py-data-juicer ### Using Docker -- Run the following command to build the docker image including the latest `data-juicer` with provided [Dockerfile](Dockerfile): - -```shell -docker build -t data-juicer: . -``` +- You can + - either pull our pre-built image from DockerHub: + ```shell + docker pull datajuicer/data-juicer: + ``` + + - or run the following command to build the docker image including the + latest `data-juicer` with provided [Dockerfile](Dockerfile): + + ```shell + docker build -t data-juicer: . + ``` ### Installation check diff --git a/README_ZH.md b/README_ZH.md index a8e6c593f..0bd640b33 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -112,11 +112,16 @@ pip install py-data-juicer ### 使用 Docker 安装 -- 运行如下命令用我们提供的 [Dockerfile](Dockerfile) 来构建包括最新版本的 `data-juicer` 的 docker 镜像: - -```shell -docker build -t data-juicer: . -``` +- 您可以选择 + - 从DockerHub直接拉取我们的预置镜像: + ```shell + docker pull datajuicer/data-juicer: + ``` + - 或者运行如下命令用我们提供的 [Dockerfile](Dockerfile) 来构建包括最新版本的 `data-juicer` 的 docker 镜像: + + ```shell + docker build -t data-juicer: . + ``` ### 安装校验