Post

Docker error - Invalid interpolation format

Docker error - Invalid interpolation format

Docker error - Invalid interpolation format

image1

Fix: You need to escape the $ characters so Docker doesn’t try to treat them as variables.

Replace each $ with $$ in the command field of the healthcheck. That tells Docker to pass a literal $ to the shell.

image2

image3

This post is licensed under CC BY 4.0 by the author.