Commit Graph

378 Commits

Author SHA1 Message Date
robot-clickhouse
42f5a3b2f8
Update version_date.tsv and changelogs after v22.10.1.1877-stable 2022-10-26 15:39:34 +02:00
robot-clickhouse
117674c0ce Update version_date.tsv and changelogs after v22.10.1.1875-stable 2022-10-26 08:48:12 +00:00
Alexey Milovidov
d0a7f855ef
Update docker/server/Dockerfile.ubuntu
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2022-10-25 05:32:11 +03:00
Alexey Milovidov
1d40578809 Remove cruft from Docker 2022-10-24 18:35:56 +02:00
robot-clickhouse
42760b577a Update version_date.tsv and changelogs after v22.9.3.18-stable 2022-09-29 23:35:12 +00:00
robot-clickhouse
8d2052307e Update version_date.tsv and changelogs after v22.9.2.7-stable 2022-09-23 11:53:04 +00:00
Yakov Olkhovskiy
339aee2c89
do not fail if keys not present 2022-09-22 09:44:44 -04:00
Mikhail f. Shiryaev
dbe919e992
Update server Dockerfiles to the latest version 2022-09-13 15:55:23 +02:00
Nikita Mikhaylov
51c29ae772 Done 2022-09-12 21:39:16 +00:00
Nikita Mikhaylov
f621bd0055
Delete old cache directories creation from entrypoint (#40946) 2022-09-04 23:54:05 +02:00
Alexey Milovidov
c4adc9ed8f Remove trash 2022-09-04 04:28:08 +02:00
Alexey Milovidov
91ed3ebe9a Remove the remaining parts of "unbundled" build 2022-08-27 02:18:47 +02:00
Heena Bansal
7779ac4707
Update entrypoint.sh
Typo error.
2022-08-11 12:01:05 -04:00
HeenaBansal2009
f9347aa9ec Merge branch 'Entrypoint_Issue' of github.com:HeenaBansal2009/ClickHouse into Entrypoint_Issue 2022-08-11 06:51:16 -07:00
HeenaBansal2009
8880171899 Add --no-check-certificate in wget 2022-08-11 06:49:45 -07:00
Alexey Milovidov
c54985ff71
Update entrypoint.sh 2022-08-11 09:46:24 +03:00
HeenaBansal2009
653ad05ce9 Addresed review comments 2022-08-10 21:10:01 -07:00
HeenaBansal2009
0d2aa07b4d Updated entrypoint.sh to listen on https_port if defined 2022-08-10 11:30:06 -07:00
HeenaBansal2009
3658530088 Updated entrypoint.sh to listen on https_port if defined 2022-08-10 11:23:15 -07:00
Alexey Milovidov
67a6b32a89
Update entrypoint.sh 2022-08-05 07:12:50 +03:00
Constantine Peresypkin
0d892b1cac fix broken NFS mkdir introduced in #36341 2022-08-04 13:23:45 +02:00
Nikita Mikhaylov
379d8c5c6a
Chown all directories for multidisk setup (#39121) 2022-08-01 12:08:32 +02:00
Timur Solodovnikov
0c7388aea8
Handling SIGTERM signals from k8s (#39130) 2022-07-12 18:14:05 +02:00
Nikita Mikhaylov
a44157d81d
Allow globs in keys for clickhouse-extract-from-config tool (#38966) 2022-07-08 16:13:32 +02:00
DanRoscigno
88bc5a84e5 update README 2022-07-06 14:06:53 -04:00
DanRoscigno
5f42c08561 small edits 2022-07-05 11:42:42 -04:00
DanRoscigno
2f2fe9cffb small edits 2022-07-05 11:39:38 -04:00
DanRoscigno
09ff006ddb small edits 2022-07-05 11:27:58 -04:00
DanRoscigno
52e2fa158a small edits 2022-07-05 10:20:55 -04:00
Michael Schnerring
9495f04188 Revise Docker README 2022-07-04 00:42:54 +02:00
Mikhail f. Shiryaev
dbe1eafff1
Update docker server version 2022-06-16 17:18:18 +02:00
Mikhail f. Shiryaev
1e67885915
Add another useful docker exec option 2022-06-13 12:03:11 +02:00
vdimir
7a5b8a8ea9
Update docker run client command in docs 2022-06-13 11:35:46 +02:00
Alexey Milovidov
94e693f96e Fix Docker 2022-05-24 23:40:10 +02:00
Alexey Milovidov
f614c139f4 Maybe better 2022-05-23 02:06:03 +02:00
Alexey Milovidov
e40396a0e5 Fix Docker 2022-05-11 03:21:08 +02:00
Alexey Milovidov
f3c3935df3 Fix shellcheck 2022-05-11 03:18:28 +02:00
Alexey Milovidov
e0121dfe6f Remove old comment 2022-04-17 00:33:58 +02:00
Alexey Milovidov
b7e5a81215 Allow to drop privileges at startup 2022-04-17 00:24:47 +02:00
Alexey Milovidov
dda060063b Remove trash 2022-04-17 00:14:27 +02:00
Mikhail f. Shiryaev
d475ce5d16
Fix building ubuntu image from deb-repo 2022-04-04 18:50:50 +02:00
Mikhail f. Shiryaev
b950b53156
Make multiarch clickhouse-server Dockerfiles 2022-04-01 11:59:49 +02:00
Mikhail f. Shiryaev
c053f1cb1d
Rewrite alpine building to pure Dockerfile 2022-04-01 11:59:46 +02:00
Mikhail f. Shiryaev
1b53993560
Make Dockerfile.ubuntu a default image definition 2022-04-01 11:59:46 +02:00
Mikhail f. Shiryaev
fbb6787a45
Rename Dockerfile to Dockerfile.ubuntu 2022-04-01 11:59:45 +02:00
Mikhail f. Shiryaev
4cc37ae9f3
Clean stale code 2022-04-01 11:59:44 +02:00
Mikhail f. Shiryaev
dd37b237ab
Changing repository url to packages.clickhouse.com 2022-02-23 20:54:16 +01:00
Constantine Peresypkin
f5787ff0a9 docker: fix root squashed data dirs
if we use some root squashed volume mappings in docker
uid=0 is actually uid=nobody
thus FS operations with uid=0 will fail miserably
and overall it's a strange idea to create dirs under root when
DO_NOT_CHOWN is in effect...
2022-01-26 14:29:27 +02:00
alexey-milovidov
e0d1b13402
Update Dockerfile 2022-01-16 00:15:19 +03:00
Alexey Milovidov
a967f90ef7 Add comments 2022-01-15 22:28:08 +03:00
Alexey Milovidov
dce1269b2a Merge branch 'master' of github.com:yandex/ClickHouse into merge-33563-2 2022-01-15 22:27:20 +03:00
Alexey Milovidov
7e266387b1 Merge #33563 2022-01-15 22:25:05 +03:00
Alexey Milovidov
a4e8e61d57 Update "gosu" version 2022-01-15 02:59:28 +03:00
alesapin
d7a7926610 Update version to 22.1 not 21.13 2022-01-14 15:10:45 +03:00
Anselmo D. Adams
f81dbfd09c
Update Dockerfile 2022-01-12 11:21:16 -03:00
peter279k
22b2d49d04 Add friendly message to notify user this instance 2021-12-28 09:42:49 +08:00
robot-clickhouse
f2ccddb7be Auto version update to [21.13.1.1] [54458] 2021-12-09 00:33:01 +03:00
Mikhail f. Shiryaev
5408d6232f
Make archive.ubuntu.com mirror configurable for build 2021-11-26 10:55:41 +01:00
robot-clickhouse
4289336c27 Auto version update to [21.12.1.1] [54457] 2021-11-02 00:56:45 +03:00
Azat Khuzhin
da90df5658 docker: switch <yandex> to <clickhouse> 2021-10-26 08:53:14 +03:00
Alexey Milovidov
2ec75b824b Revert "repo.clickhouse.tech is not 100% ready"
This reverts commit 8616ba62e4.
2021-09-29 02:43:20 +03:00
Alexey Milovidov
8616ba62e4 repo.clickhouse.tech is not 100% ready 2021-09-24 04:41:59 +03:00
Alexey Milovidov
e9e77b4403 .tech -> .com 2021-09-22 03:22:57 +03:00
Alexey Milovidov
147ef79670 Change website URL, part 1 2021-09-20 01:56:28 +03:00
Alexey Milovidov
bdc99b6c91 Change Alpine Dockerfile 2021-09-20 01:53:52 +03:00
Alexey Milovidov
ab44e0addb Change Docker org name 2021-09-20 01:52:21 +03:00
Alexey Milovidov
e513a5db32 Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
robot-clickhouse
fc4f119417 Auto version update to [21.11.1.1] [54456] 2021-09-09 12:03:29 +03:00
Yatsishin Ilya
91289983c6 Use ru.archive.ubuntu.com as default one is not responding from CI 2021-08-23 11:22:39 +03:00
Alexander Kuzmenkov
c5fb6b3670 Revert "Revert "try to update version to 21.10 because 21.9 has a broken release PR and""
This reverts commit fce6eed2be.
2021-08-19 14:27:49 +03:00
Alexander Kuzmenkov
fce6eed2be Revert "try to update version to 21.10 because 21.9 has a broken release PR and"
This reverts commit 51d802b825.
2021-08-19 14:21:36 +03:00
Alexander Kuzmenkov
51d802b825 try to update version to 21.10 because 21.9 has a broken release PR and
branch
2021-08-19 14:16:28 +03:00
Mikhail f. Shiryaev
64c35b2511
Disable watchdog in docker by default 2021-07-23 21:42:33 +02:00
Nikolai Kochetov
e0c5dc1449
Update entrypoint.sh 2021-07-20 16:10:29 +03:00
Nikolai Kochetov
4df50d3490
Update entrypoint.sh 2021-07-20 15:02:20 +03:00
Ky Li
9abd7e543c
Update entrypoint.sh
We build clickhouse cluster in k8s by clickhouse-operator. 
clickhouse-server.log is mounted by emptydir on the path `/var/log/clickhouse-server`.
It causes the file system error called `Necessary directory '/var/log/clickhouse-server' isn't owned by user with id '101' `  when  CLICKHOUSE_DO_NOT_CHOWN is set to true(1).
Because emptydir file and dir is owned by root when it started, it has to do the chown cmd.
But it will take a long time to run chown cmd when the cluster has much data (in table data dir), the cluster cannot even restart because of  `initialDelaySeconds`
So chown operation is necessary to check if the file owner and group is owned by user 101.
2021-07-20 12:16:51 +08:00
Alexey Milovidov
9bef9d4f2d Revert "Auto version update to [21.10.1.1] [54455]"
This reverts commit f2b1395127.
2021-07-17 13:17:30 +03:00
robot-clickhouse
f2b1395127 Auto version update to [21.10.1.1] [54455] 2021-07-17 08:45:10 +03:00
robot-clickhouse
8ae8b26954 Auto version update to [21.9.1.1] [54454] 2021-07-10 08:22:52 +03:00
robot-clickhouse
648801760e Auto version update to [21.8.1.1] [54453] 2021-06-28 00:50:20 +03:00
filimonov
4766576a28
Fix error message to include file path 2021-06-04 10:00:01 +02:00
robot-clickhouse
471142043f Auto version update to [21.7.1.1] [54452] 2021-05-20 22:23:34 +03:00
filimonov
66eaf210a0
Update Dockerfile 2021-04-30 15:29:40 +02:00
filimonov
87e5aa8c2b
autodetect arch of gosu in server dockerfile 2021-04-30 15:27:31 +02:00
robot-clickhouse
db82e9e3d5 Auto version update to [21.6.1.1] [54451] 2021-04-20 01:48:20 +03:00
robot-clickhouse
39b5674bef Auto version update to [21.5.1.1] [54450] 2021-04-02 18:34:29 +03:00
Mikhail Filimonov
da6ad09db6
Add suffixes for dockerfile arguments 2021-03-29 16:27:01 +02:00
Mikhail Filimonov
32c27b45a6
Add possibility to customize the source for docker image builds.
Introduce 2 arguments for clickhouse-server image Dockerfile:
deb_location & single_binary_location

That enables to build docker images from CI build easily, also for non-standard
builds (with sanitizers / for arm64 etc).
2021-03-29 15:42:18 +02:00
alesapin
581ab43cfb
Merge pull request #22132 from devwout/fix-docker-entrypoint
Fix docker entrypoint in case http_port is not in the config
2021-03-29 16:31:18 +03:00
Ewout
6fe26493e9 Fix docker entrypoint in case http_port is not in config.
`http_port` can be removed from the configuration when serving HTTP is
not desired. When it is not present, `extract-from-config` will fail,
which will prevent the server from starting.

Only fetch it when it is required for database initialization.
2021-03-25 16:14:48 +01:00
filimonov
4b6b1311ce
Update entrypoint.sh 2021-03-24 22:33:08 +01:00
filimonov
8121c52c53
Update entrypoint.sh
fix for #22100
2021-03-24 22:24:07 +01:00
filimonov
4cbf741e52
Update Dockerfile.alpine 2021-03-23 11:48:28 +01:00
filimonov
7793593112
Update Dockerfile.alpine 2021-03-23 10:21:51 +01:00
Alexey Milovidov
b824df2d3f Add tzdata to Docker 2021-03-22 22:43:26 +03:00
robot-clickhouse
4e61f45dbb Auto version update to [21.4.1.1] [54449] 2021-03-06 14:43:30 +03:00
Nikolai Kochetov
a475ac9be8
Merge pull request #20139 from sonirico/master
Add 'access_management' configuration to initial setup
2021-02-16 13:21:13 +03:00
filimonov
47c8537f63
Add libnss_files to alpine image
It seems it's needed to make some of DNS-related features work
properly in certain scenarios (things like getting proper FQDN, reverse DNS lookup).
2021-02-11 12:56:26 +01:00
Marquitos
27933e714b Add 'access_management' configuration to initial setup 2021-02-05 17:39:41 +01:00
filimonov
5e350bb761
Update entrypoint.sh
Fix for #20002
2021-02-02 23:36:09 +01:00
robot-clickhouse
cd82eed093 Auto version update to [21.3.1.1] [54448] 2021-02-01 12:50:56 +03:00
alexey-milovidov
21455ae646
Merge pull request #19374 from filimonov/docker_openshift
Allow docker to be executed with arbitrary uid
2021-01-22 17:28:44 +03:00
alexey-milovidov
04b950ecbd
Update Dockerfile.alpine 2021-01-22 17:28:36 +03:00
alexey-milovidov
8fdb9d9018
Update Dockerfile 2021-01-22 17:28:25 +03:00
Mikhail Filimonov
fb98e3f8dc
Allow docker to be executed with arbitrary uid 2021-01-21 18:25:09 +01:00
alesapin
fe6b964b32 Revert "Revert "Auto version update to [21.2.1.1] [54446]""
This reverts commit 42f63e14b5.
2021-01-21 12:39:46 +03:00
alexey-milovidov
e0c90cd20e
Update Dockerfile.alpine 2021-01-15 20:59:12 +03:00
alexey-milovidov
c846f76ffa
Update Dockerfile 2021-01-15 20:58:51 +03:00
Mikhail Filimonov
0d23f3f16a
Docker: fix uid/gid of the clickhouse user
Explicitly set uid / gid of clickhouse user & group to the fixed values 101.

It is especially important for rootless containers: in that case entrypoint can't do chown
and owners of mounted volumes should be configured externally.

We do that in advance at the begining of Dockerfile before any packages will be installed
to prevent picking those uid / gid by some unrelated software.

The same uid / gid (101) is used both for alpine and ubuntu.

Number 101 is used by default in openshift, and was used by all clickhouse-server docker images
before 20.10. In 20.11 it was changed (by accident) to 999.
2021-01-14 23:37:27 +01:00
filimonov
f8dc5cc740
Update alpine-build.sh 2021-01-11 18:35:20 +01:00
Mikhail Filimonov
9f22bcefb0
Docker: better server entrypoint 2021-01-11 18:24:49 +01:00
Alexey Milovidov
42f63e14b5 Revert "Auto version update to [21.2.1.1] [54446]"
This reverts commit bc2593688e.
2021-01-11 11:32:52 +03:00
robot-clickhouse
bc2593688e Auto version update to [21.2.1.1] [54446] 2021-01-11 11:12:11 +03:00
Alexey Milovidov
c7d4d12f72 Auto version update to [21.1.0] [54445] 2021-01-11 03:51:08 +03:00
Alexey Milovidov
5bdf287910 Check for conflict markers in docs 2020-12-22 00:55:54 +03:00
alexey-milovidov
19af691aa6
Merge pull request #17738 from vklimontovich/docker-cli-example
Docker cli example
2020-12-14 19:44:13 +03:00
filimonov
b08842d44e
Update README.md 2020-12-14 16:54:37 +01:00
filimonov
1436986a86
Update README.md 2020-12-14 16:53:58 +01:00
filimonov
bca41bb7fd
Update README.md 2020-12-14 16:50:48 +01:00
Guillaume Tassery
4920bba7de Override value for running scripts on docker-entrypoint-initdb.d with CLICKHOUSE_INIT_TIMEOUT 2020-12-05 09:53:15 +07:00
Vladimir Klimontovich
9bf5ab9f4c
Removed unnecessary mapping 2020-12-02 19:01:31 +03:00
Vladimir Klimontovich
274c87d4c7
Remove extra space 2020-12-02 19:00:23 +03:00
Vladimir Klimontovich
d402d68071
Added HTTP CLI example and expose 8123 port
Exposing the 8123 (HTTP) interface in basic example and giving CLI connection instruction makes it easier to start. For a lot of developers, curl is a native and very familiar tool
2020-12-02 18:26:16 +03:00
robot-clickhouse
dc19fba36f Auto version update to [20.13.1.1] [54444] 2020-11-23 10:29:26 +03:00
robot-clickhouse
f7b7854ace Auto version update to [20.12.1.1] [54443] 2020-11-05 21:52:50 +03:00
Mikhail Filimonov
d126024248
Docker alpine build 2020-10-28 13:58:38 +01:00
robot-clickhouse
554fa482e6 Auto version update to [20.11.1.1] [54442] 2020-10-10 18:39:58 +03:00
alekseik1
a4a5b96d4a
do not expose ClickHouse server until initialization is complete 2020-09-24 20:11:12 +03:00
robot-clickhouse
8def718661 Auto version update to [20.10.1.1] [54440] 2020-09-08 17:04:41 +03:00
robot-clickhouse
e2fa0eae2f Auto version update to [20.9.1.1] [54439] 2020-08-31 23:07:41 +03:00
robot-clickhouse
a82c0f5371 Auto version update to [20.8.1.1] [54438] 2020-08-07 21:45:49 +03:00
robot-clickhouse
0f23642a3d Auto version update to [20.7.1.1] [54437] 2020-07-13 18:26:03 +03:00
Ivan Blinkov
9b26afc885
Update Dockerfile 2020-07-06 13:44:47 +03:00
Ivan Blinkov
96eb38121e
Update Dockerfile 2020-07-06 11:20:56 +03:00
Ivan Blinkov
99443057b6
Update Dockerfile 2020-07-04 00:55:00 +03:00
Ivan Blinkov
b81c66a031
[docker] install ca-certificates before the first apt-get update (#12095)
* [docker] install ca-certificates before first apt-get update

* Update Dockerfile
2020-07-02 22:16:21 +03:00
Ivan Blinkov
b9b7abe816
revert e9d3c48f56 2020-07-02 12:31:18 +03:00
Ivan Blinkov
e9d3c48f56
Update Dockerfile 2020-07-02 12:28:23 +03:00
robot-clickhouse
4bd47b8adc Auto version update to [20.6.1.1] [54436] 2020-06-22 20:40:26 +03:00
Alexey Milovidov
bba0cf6064 Remove dependency on tzdata 2020-06-20 15:31:18 +03:00
giordyb
d61da39c10
Update entrypoint.sh
without -q option the database does not get created at startup
2020-06-11 17:23:02 +02:00
Ivan Blinkov
f6b5cd7de2
Update Dockerfile 2020-06-10 22:26:44 +03:00
Ivan Blinkov
3d9424fd5a perl -pi -e 's/repo\.yandex\.ru\/clickhouse/repo.clickhouse.tech/g' {} 2020-06-10 21:54:55 +03:00
Ivan Starkov
bdcf1170ce
Instead of forcing IPv4 protocol force wget to use protocols in order 2020-06-09 16:32:49 +03:00
Ivan Starkov
32772073ea
Fix docker-entrypoint-initdb.d wait
Fixes 'Address family not supported by protocol' for any docker-entrypoint-initdb.d script.

wget uses 'localhost' which resolves for both ipv4 and ipv6 with current config (/etc/hosts) and so the wget fails _(Address family not supported by protocol)_ and does not retry.

Forcing it to use IPv4 fixes the issue
2020-06-09 13:52:21 +03:00
Ilya
bc773be0e4
Fix package name in docker file: tzata -> tzdata 2020-05-28 13:30:29 +03:00
alesapin
a014a74e8a Return tzdata 2020-05-14 21:37:13 +03:00
Paramtamtam
a55c6763d6
Default user creation fixed 2020-05-04 13:30:05 +05:00
Paramtamtam
cbcd3b9a76
Small fixes 2020-05-04 12:27:57 +05:00
Paramtamtam
a4e61c9556
Revert unimportant changes 2020-05-04 12:20:20 +05:00