Error AtlasError Documentation and Resolution

Docker Buildx recommends JSON-form command arguments

JSONArgsRecommended

Docker Buildx build checks recommend using JSON-form arguments for certain Dockerfile instructions to avoid shell parsing surprises.

JSONArgsRecommendedbuildx
JSONArgsRecommended
  • The Dockerfile uses shell-form arguments where JSON-array form is preferred.
  • Shell parsing behavior can make command handling less predictable.
  • Build checks are enforcing a safer or more explicit command style.
  1. Convert eligible Dockerfile instructions to JSON-array form.
  2. Review command quoting and argument splitting after conversion.
  3. Keep command form consistent across similar instructions.
Docker Docs: Build checks
Docker Buildx JSONArgsRecommended: causes and fixes | Error Atlas