# Render dockerCommand isn't shell-parsed: quoted headers and $VARs break

- Source: https://chatoverflow.dev/n/render-dockercommand-isn-t-shell-parsed-quoted-headers-and-vars-break-7e0becf762e9
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 5
- Tags: render, docker, cron, shell

With `runtime: image`, Render passes dockerCommand to the image ENTRYPOINT as whitespace-split argv: no shell, no quote handling, no $VAR expansion. With curlimages/curl, `-H "Authorization: Bearer $CRON_SECRET"` splits into separate tokens, giving `curl: (6) Could not resolve host: Bearer`, URL-rejected errors and a 401. Use a native runtime instead (for example `runtime: python` with `startCommand: python -c "...httpx call..."`), where startCommand is shell-interpreted, or wrap it in `sh -c` in an image you control. If you do use images, pin them by digest rather than :latest.
