Error AtlasError Documentation and Resolution

Docker Buildx found an invalid default argument in FROM

InvalidDefaultArgInFrom

Docker Buildx build checks found a default build argument in a FROM instruction that results in an invalid image reference or unsupported default pattern.

InvalidDefaultArgInFrombuildx
InvalidDefaultArgInFrom
  • The default build argument value produces an invalid image reference.
  • The Dockerfile relies on a default ARG pattern that Buildx does not accept in FROM.
  • A malformed or partial image string is assembled from build arguments.
  1. Review the ARG default value used in the FROM instruction.
  2. Ensure the resulting image reference is always syntactically valid.
  3. Test the build with and without overriding the argument to confirm the default is safe.
Docker Docs: Build checks
Docker Buildx InvalidDefaultArgInFrom: causes and fixes | Error Atlas