Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ You can use several different environment variables to configure [!INCLUDE [ssno
| --- | --- |
| `ACCEPT_EULA` | Set the `ACCEPT_EULA` variable to any value to confirm your acceptance of the [End-User Licensing Agreement](https://go.microsoft.com/fwlink/?LinkId=746388). Required setting for the SQL Server image. |
| `MSSQL_SA_PASSWORD` | Configure the `sa` password.<br /><br />The `SA_PASSWORD` environment variable is deprecated. Use `MSSQL_SA_PASSWORD` instead. |
| `MSSQL_DB` | Sets the name of a database to create on container startup. |
| `MSSQL_USER` | If `MSSQL_DB` is set, sets the name of a non-`sa` user to create on container startup. User will be granted access rights on the `MSSQL_DB` database. If this variable is used, `MSSQL_PASSWORD` must also be set. If `MSSQL_DB` is not set, this variable is ignored. |
| `MSSQL_PASSWORD` | Sets the password of the user whose name is in `MSSQL_USER`. If this variable is used, `MSSQL_USER` must also be set. If `MSSQL_DB` is not set, this variable is ignored. |
Comment on lines +33 to +35
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These new environment variables appear to be specific to the SQL Server 2025 container image (per the PR description). As written, the table reads like a general list for all versions, which could mislead readers using 2017/2019/2022 images. Consider scoping these rows to the >=sql-server-ver17 || >=sql-server-linux-ver17 moniker range, or explicitly noting they apply only to the 2025 (and later) container images.

Copilot uses AI. Check for mistakes.
Comment on lines +34 to +35
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The MSSQL_USER description has a couple of readability/grammar issues (for example, missing an article in “User will be granted…”, and “access rights on” reads awkwardly). Consider rephrasing in present tense (for example, “The user is granted access to …”) and tightening the dependency wording to make the requirements (MSSQL_PASSWORD required when MSSQL_USER is set) easier to scan.

Suggested change
| `MSSQL_USER` | If `MSSQL_DB` is set, sets the name of a non-`sa` user to create on container startup. User will be granted access rights on the `MSSQL_DB` database. If this variable is used, `MSSQL_PASSWORD` must also be set. If `MSSQL_DB` is not set, this variable is ignored. |
| `MSSQL_PASSWORD` | Sets the password of the user whose name is in `MSSQL_USER`. If this variable is used, `MSSQL_USER` must also be set. If `MSSQL_DB` is not set, this variable is ignored. |
| `MSSQL_USER` | If `MSSQL_DB` is set, sets the name of a non-`sa` user to create on container startup. The user is granted access to the `MSSQL_DB` database. Requires `MSSQL_PASSWORD`. If `MSSQL_DB` isn't set, this variable is ignored. |
| `MSSQL_PASSWORD` | Sets the password for the user specified in `MSSQL_USER`. Requires `MSSQL_USER`. If `MSSQL_DB` isn't set, this variable is ignored. |

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

“Sets the password of the user whose name is in MSSQL_USER” is a bit unclear; MSSQL_USER is a variable, not a container. Consider rephrasing to “...the user specified by MSSQL_USER” for clarity and consistency with the other descriptions.

Suggested change
| `MSSQL_PASSWORD` | Sets the password of the user whose name is in `MSSQL_USER`. If this variable is used, `MSSQL_USER` must also be set. If `MSSQL_DB` is not set, this variable is ignored. |
| `MSSQL_PASSWORD` | Sets the password of the user specified by `MSSQL_USER`. If this variable is used, `MSSQL_USER` must also be set. If `MSSQL_DB` is not set, this variable is ignored. |

Copilot uses AI. Check for mistakes.
| `MSSQL_PID` | Set the [SQL Server edition](../sql-server/editions-and-components-of-sql-server-2025.md#sql-server-editions) or product key. Possible values are listed in the following [SQL Server editions](#sql-server-editions) table. If you specify a product key, it must be in the form of `#####-#####-#####-#####-#####`, where `#` is a number or a letter. |
| `MSSQL_LCID` | Sets the language ID to use for SQL Server. For example, 1036 is French. |
| `MSSQL_COLLATION` | Sets the default collation for SQL Server. This overrides the default mapping of language ID (LCID) to collation. |
Expand Down
Loading