-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid interpolation format for services.caddy.environment.[]: "$2a$14$1l.IozJ...". You may need to escape any $ with another $. #276
Comments
What version of Docker compose are you having this issue with, I suspect <v2.x? |
I cannot replicate this with Docker 20.10.21 and Docker compose 2.14.0. Can you please try upgrade and retest? |
I've ran in this issue before. After that docker compose worked for me |
I am still getting this error :(.
|
In your
|
Having same issue with Docker compose V2.23.0, but shouldn't a PR be raised to add the escaping of the $ in the hash, or does it only affect those using V2.x of compose? |
I'm not really sure why this doesn't work because it looks like you're escaping with double quotes properly, it might have something to do with your shell and its interpolation. You could try using single quotes instead and removing the escaping of $ with another $ like below.
Can become:
You only need to escape $ with another $ if utilising double quotes The default in the Either replace the defaults in the compose file with your actual hashes or utilise the appropriate quoting/escaping when prepending the |
Error when a try to clone and start project
invalid interpolation format for services.caddy.environment.[]: "$2a$14$1l.IozJx7xQRVmlkEQ32OeEEfP5mRxTpbDTCTcXRqn19gXD8YK1pO". You may need to escape any $ with another $.
The text was updated successfully, but these errors were encountered: