You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docker/server/README.md
+18-21Lines changed: 18 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,33 +4,34 @@
4
4
5
5
ClickHouse is an open-source column-oriented DBMS (columnar database management system) for online analytical processing (OLAP) that allows users to generate analytical reports using SQL queries in real-time.
6
6
7
-
ClickHouse works 100-1000x faster than traditional database management systems, and processes hundreds of millions to over a billion rows and tens of gigabytes of data per server per second. With a widespread user base around the globe, the technology has received praise for its reliability, ease of use, and fault tolerance.
7
+
ClickHouse works 100-1000x faster than traditional database management systems, and processes hundreds of millions to over a billion rows and tens of gigabytes of data per server per second. With a widespread user base around the globe, the technology has received praise for its reliability, ease of use, and fault tolerance.
8
8
9
9
For more information and documentation see https://clickhouse.com/.
10
10
11
11
## Versions
12
12
13
-
-The `latest` tag points to the latest release of the latest stable branch.
14
-
-Branch tags like `22.2` point to the latest release of the corresponding branch.
15
-
-Full version tags like `22.2.3.5` point to the corresponding release.
16
-
-The tag `head` is built from the latest commit to the default branch.
17
-
-Each tag has optional `-alpine` suffix to reflect that it's built on top of `alpine`.
13
+
-The `latest` tag points to the latest release of the latest stable branch.
14
+
-Branch tags like `22.2` point to the latest release of the corresponding branch.
15
+
-Full version tags like `22.2.3.5` point to the corresponding release.
16
+
-The tag `head` is built from the latest commit to the default branch.
17
+
-Each tag has optional `-alpine` suffix to reflect that it's built on top of `alpine`.
18
18
19
19
### Compatibility
20
20
21
-
-The amd64 image requires support for [SSE3 instructions](https://en.wikipedia.org/wiki/SSE3). Virtually all x86 CPUs after 2005 support SSE3.
22
-
-The arm64 image requires support for the [ARMv8.2-A architecture](https://en.wikipedia.org/wiki/AArch64#ARMv8.2-A) and additionally the Load-Acquire RCpc register. The register is optional in version ARMv8.2-A and mandatory in [ARMv8.3-A](https://en.wikipedia.org/wiki/AArch64#ARMv8.3-A). Supported in Graviton >=2, Azure and GCP instances. Examples for unsupported devices are Raspberry Pi 4 (ARMv8.0-A) and Jetson AGX Xavier/Orin (ARMv8.2-A).
21
+
-The amd64 image requires support for [SSE3 instructions](https://en.wikipedia.org/wiki/SSE3). Virtually all x86 CPUs after 2005 support SSE3.
22
+
-The arm64 image requires support for the [ARMv8.2-A architecture](https://en.wikipedia.org/wiki/AArch64#ARMv8.2-A) and additionally the Load-Acquire RCpc register. The register is optional in version ARMv8.2-A and mandatory in [ARMv8.3-A](https://en.wikipedia.org/wiki/AArch64#ARMv8.3-A). Supported in Graviton >=2, Azure and GCP instances. Examples for unsupported devices are Raspberry Pi 4 (ARMv8.0-A) and Jetson AGX Xavier/Orin (ARMv8.2-A).
23
23
24
24
## How to use this image
25
25
26
26
### start server instance
27
+
27
28
```bash
28
29
docker run -d --name some-clickhouse-server --ulimit nofile=262144:262144 clickhouse/clickhouse-server
29
30
```
30
31
31
32
By default, ClickHouse will be accessible only via the Docker network. See the [networking section below](#networking).
32
33
33
-
By default, starting above server instance will be run as the `default` user without password.
34
+
By default, starting above server instance will be run as the `default` user without password.
or by allowing the container to use [host ports directly](https://docs.docker.com/network/host/) using `--network=host` (also allows achieving better network performance):
To perform additional initialization in an image derived from this one, add one or more `*.sql`, `*.sql.gz`, or `*.sh` scripts under `/docker-entrypoint-initdb.d`. After the entrypoint calls `initdb`, it will run any `*.sql` files, run any executable `*.sh` scripts, and source any non-executable `*.sh` scripts found in that directory to do further initialization before starting the service.
150
+
To perform additional initialization in an image derived from this one, add one or more `*.sql`, `*.sql.gz`, or `*.sh` scripts under `/docker-entrypoint-initdb.d`. After the entrypoint calls `initdb`, it will run any `*.sql` files, run any executable `*.sh` scripts, and source any non-executable `*.sh` scripts found in that directory to do further initialization before starting the service.
154
151
Also, you can provide environment variables `CLICKHOUSE_USER` & `CLICKHOUSE_PASSWORD` that will be used for clickhouse-client during initialization.
155
152
156
153
For example, to add an additional user and database, add the following to `/docker-entrypoint-initdb.d/init-db.sh`:
0 commit comments