> ## Documentation Index
> Fetch the complete documentation index at: https://tally.wharflab.com/llms.txt
> Use this file to discover all available pages before exploring further.

# hadolint/DL3063

> Stage name should not be a reserved word.

Stage name should not be a reserved word.

> **Superseded by [`buildkit/ReservedStageName`](../buildkit/ReservedStageName)**, which provides the same check.

## Description

Stage aliases in `FROM ... AS <name>` must not use reserved Dockerfile stage names such as `scratch` or `context`.

## Examples

### Problematic code

```dockerfile theme={null}
FROM alpine:3.21 AS scratch
```

### Correct code

```dockerfile theme={null}
FROM alpine:3.21 AS builder
```

## Reference

* [hadolint/DL3063](https://github.com/hadolint/hadolint/wiki/DL3063)
