|
|
@@ -66,7 +66,7 @@ docker rm some-clickhouse-server
|
|
|
You can expose your ClickHouse running in docker by [mapping a particular port](https://docs.docker.com/config/containers/container-networking/) from inside the container using host ports:
|
|
|
|
|
|
```bash
|
|
|
-docker run -d -p 18123:8123 -p19000:9000 -e CLICKHOUSE_PASSWORD=changeme --name some-clickhouse-server --ulimit nofile=262144:262144 %%IMAGE%%
|
|
|
+docker run -d -p 18123:8123 -p 19000:9000 -e CLICKHOUSE_PASSWORD=changeme --name some-clickhouse-server --ulimit nofile=262144:262144 %%IMAGE%%
|
|
|
echo 'SELECT version()' | curl 'http://localhost:18123/?password=changeme' --data-binary @-
|
|
|
```
|
|
|
|