Skip to main content
POST
Check Dockerfile
The same check runs again when you create or rebuild an image, so a clean result here never replaces it. A check does not count against any limit. Needs the images:read scope when called with an API key.
string
required
The content of the Dockerfile.
string[]
required
The paths of the files in the build context, relative to its root.

Response

object

Finding codes

Error Responses

string
The error code indicating the reason for the failure. Possible values:
  • API_KEY_SCOPE_DENIED: The API key does not have the required scope (403).
  • VALIDATION_ERROR: The body failed validation (400).
  • INTERNAL_SERVER_ERROR: Unexpected failure (500).