Merge pull request #2555 from ClickHouse/ClickHouse-docker-library

Update clickhouse docs according to ClickHouse/ClickHouse
This commit is contained in:
Tianon Gravi 2025-03-18 17:40:46 +00:00 committed by GitHub
commit c20f546b43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ docker run -it --rm --network=container:some-clickhouse-server --entrypoint clic
docker exec -it some-clickhouse-server clickhouse-client docker exec -it some-clickhouse-server clickhouse-client
``` ```
More information about the [ClickHouse client](https://clickhouse.com/docs/en/interfaces/cli/). More information about the [ClickHouse client](https://clickhouse.com/docs/interfaces/cli/).
### connect to it using curl ### connect to it using curl
@ -50,7 +50,7 @@ More information about the [ClickHouse client](https://clickhouse.com/docs/en/in
echo "SELECT 'Hello, ClickHouse!'" | docker run -i --rm --network=container:some-clickhouse-server buildpack-deps:curl curl 'http://localhost:8123/?query=' -s --data-binary @- echo "SELECT 'Hello, ClickHouse!'" | docker run -i --rm --network=container:some-clickhouse-server buildpack-deps:curl curl 'http://localhost:8123/?query=' -s --data-binary @-
``` ```
More information about the [ClickHouse HTTP Interface](https://clickhouse.com/docs/en/interfaces/http/). More information about the [ClickHouse HTTP Interface](https://clickhouse.com/docs/interfaces/http/).
### stopping / removing the container ### stopping / removing the container
@ -119,9 +119,9 @@ Read more in [knowledge base](https://clickhouse.com/docs/knowledgebase/configur
## Configuration ## Configuration
The container exposes port 8123 for the [HTTP interface](https://clickhouse.com/docs/en/interfaces/http_interface/) and port 9000 for the [native client](https://clickhouse.com/docs/en/interfaces/tcp/). The container exposes port 8123 for the [HTTP interface](https://clickhouse.com/docs/interfaces/http_interface/) and port 9000 for the [native client](https://clickhouse.com/docs/interfaces/tcp/).
ClickHouse configuration is represented with a file "config.xml" ([documentation](https://clickhouse.com/docs/en/operations/configuration_files/)) ClickHouse configuration is represented with a file "config.xml" ([documentation](https://clickhouse.com/docs/operations/configuration_files/))
### Start server instance with custom configuration ### Start server instance with custom configuration