title: Click house build is stuck after inserting user password
body: <p><strong>Docker file</strong></p>
  <pre><code>FROM ubuntu:20.04
  
  ENV CH_VERSION 21.8.11.4
  RUN \
    apt-get update &amp;&amp; \
    apt-get install --yes --no-install-recommends \
      apt-transport-https \
      apt-utils \
      dirmngr \
      gnupg &amp;&amp; \
    apt-key adv --keyserver keyserver.ubuntu.com --recv E0C56BD4 &amp;&amp; \
    echo &quot;deb http://repo.yandex.ru/clickhouse/deb/stable/ main/&quot; | tee /etc/apt/sources.list.d/clickhouse.list &amp;&amp; \
    apt-get update &amp;&amp; \
    apt-get install --allow-unauthenticated -y \
      clickhouse-client=${CH_VERSION} \
      clickhouse-server=${CH_VERSION} \
      clickhouse-common-static=${CH_VERSION} \
      libgcc-7-dev \
      tzdata \
      libreadline-dev \
      curl &amp;&amp; \
    rm -rf \
      /var/lib/apt/lists/* \
      /var/cache/debconf \
      /tmp/* &amp;&amp; \
    apt-get clean
  
  VOLUME /var/lib/clickhouse
  
  RUN chown -R clickhouse /etc/clickhouse-server
  
  USER clickhouse
  EXPOSE 9000 8123 9009
  
  ENTRYPOINT exec /usr/bin/clickhouse-server --config=/etc/clickhouse-server/config.xml
  </code></pre>
  <p>When try to build clickhouse image by running following cmd</p>
  <pre><code>docker build -t clickhouse-server:21.8.11.4 .
  </code></pre>
  <p>After that, asking for default user password
  <a href="https://i.stack.imgur.com/bse7P.png" rel="nofollow noreferrer">Screenshot</a></p>
  <p>I have tried to insert blank password and also tried to insert random password, after inserting password it has gone stuck</p>