From a3f7f5bf5012f813449d86dc149a654b16dce188 Mon Sep 17 00:00:00 2001 From: Konstantin Tretyakov <220083+konstantint@users.noreply.github.com> Date: Sat, 10 Sep 2022 21:37:57 +0200 Subject: [PATCH] Mention the need to escape dollar signs within HASHED_PASSWORD in docker-compose. That is not self-evident and mentioning it might save someone some frustration and debugging time. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e00e96b..971009e 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,8 @@ git config --global user.email "email address" How to create the [hashed password](https://github.com/cdr/code-server/blob/master/docs/FAQ.md#can-i-store-my-password-hashed). +Note that when the hashed password is specified within `docker-compose`, all `$` characters in it should be escaped as `$$` to prevent `docker-compose` from interpreting them as variable notation. + ## Usage Here are some example snippets to help you get started creating a container.