Error AtlasError Documentation and Resolution

docker run failed with exit code 125

Exit code 125 indicates that the error is with Docker itself.

Exit code 125 means docker run failed before the container command executed, usually because the Docker invocation or daemon-level container setup was invalid.

Exit code 125containers
Exit code 125 indicates that the error is with Docker itself.
  • The docker run command used invalid flags or invalid CLI syntax.
  • Docker failed before invoking the container command.
  1. Review the full docker run command for unsupported flags or invalid arguments.
  2. Use docker run --help to verify the expected syntax.
  3. Check daemon output if the command syntax is valid but startup still fails.
Docker Docs: Running containers - Exit status 125
Docker exit code 125: causes and fixes | Error Atlas