You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by lu...@apache.org on 2023/04/05 00:36:58 UTC

[doris] branch master updated: [typo](doc)Fixing broken links in docker cluster docs, improving formatting. (#18290)

This is an automated email from the ASF dual-hosted git repository.

luzhijing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 4edf2acc81 [typo](doc)Fixing broken links in docker cluster docs, improving formatting. (#18290)
4edf2acc81 is described below

commit 4edf2acc8162e483c3df49536e5caea6802c043e
Author: Sebastian Gassner <se...@users.noreply.github.com>
AuthorDate: Wed Apr 5 02:36:47 2023 +0200

    [typo](doc)Fixing broken links in docker cluster docs, improving formatting. (#18290)
---
 docs/en/docs/faq/install-faq.md                             |  8 +++++++-
 docs/en/docs/install/construct-docker/run-docker-cluster.md | 13 +++++++++----
 2 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/docs/en/docs/faq/install-faq.md b/docs/en/docs/faq/install-faq.md
index afaaeffc7c..22fec40f4c 100644
--- a/docs/en/docs/faq/install-faq.md
+++ b/docs/en/docs/faq/install-faq.md
@@ -309,4 +309,10 @@ If the following `Failed to initialize JNI` error occurs when starting BE after
 ```
 Failed to initialize JNI: Failed to find the library libjvm.so.
 ```
-You need to set the `JAVA_HOME` environment variable, or add `export JAVA_HOME=your_java_home_path` in the first line of the `start_be.sh` startup script, and then restart the BE node.
\ No newline at end of file
+You need to set the `JAVA_HOME` environment variable, or add `export JAVA_HOME=your_java_home_path` in the first line of the `start_be.sh` startup script, and then restart the BE node.
+
+### Q17. Docker: backend fails to start
+This may be due to the CPU not supporting AVX2, check the backend logs with `docker logs -f be`.
+If the CPU does not support AVX2, the `apache/doris:1.2.2-be-x86_64-noavx2` image must be used,
+instead of `apache/doris:1.2.2-be-x86_64`.
+Note that the image version number will change over time, check [Dockerhub](https://registry.hub.docker.com/r/apache/doris/tags?page=1&name=avx2) for the most recent version.
diff --git a/docs/en/docs/install/construct-docker/run-docker-cluster.md b/docs/en/docs/install/construct-docker/run-docker-cluster.md
index b02f02f6de..bd095aeb91 100644
--- a/docs/en/docs/install/construct-docker/run-docker-cluster.md
+++ b/docs/en/docs/install/construct-docker/run-docker-cluster.md
@@ -132,10 +132,15 @@ docker run -itd \
 -v /data/be/log:/opt/apache-doris/be/log \
 --network=doris-network \
 --ip=172.20.80.3\
-apache/doris:1.2.1-be-x86_64
+apache/doris:1.2.1-be-x86_64  # if CPU does not support AVX2, use
+                              # apache/doris:1.2.1-be-x86_64-noavx2
 ```
 
-3FE & 3BE Run command template if needed [click here](https://github.com/apache/doris/tree/master/docker/runtime/docker-compose-demo/build-cluster/rum-command/3fe_3be.sh ) to access Downloads.
+> Note: if you CPU does not support AVX2, the backend will fail to start. 
+> If this is the case, use the `apache/doris:X.X.X-be-x86_64-noavx2` backend image.
+> Use `docker logs -f be` to check the backend for error messages.
+
+3FE & 3BE run command template can be downloaded [here](https://github.com/apache/doris/tree/master/docker/runtime/docker-compose-demo/build-cluster/rum-command/3fe_3be.sh).
 
 #### Docker Compose script
 
@@ -162,7 +167,7 @@ services:
        doris_net:
          ipv4_address: 172.20.80.2
    docker-be:
-     image: "apache/doris:1.2.1-be-x86_64"
+     image: "apache/doris:1.2.1-be-x86_64"  # use apache/doris:1.2.1-be-x86_64-noavx2, if CPU does not support AVX2
      container_name: "doris-be"
      hostname: "be"
      depends_on:
@@ -187,7 +192,7 @@ networks:
          - subnet: 172.20.80.0/16
 ```
 
-3FE & 3BE Docker Compose script template if needed [click here](https://github.com/apache/doris/tree/master/docker/runtime/docker-compose-demo/build-cluster/docker-compose/ 3fe_3be/docker-compose.yaml) access to download.
+3FE & 3BE Docker Compose file can be downloaded [here](https://github.com/apache/doris/tree/master/docker/runtime/docker-compose-demo/build-cluster/docker-compose/3fe_3be/docker-compose.yaml).
 
 ## Deploy Doris Docker
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org