SQL On Docker Environment Variables

James Anderson lists the current environment variables that you can set for a SQL Server on Linux Docker container:

As of CTP 2.1 for SQL Server 2017 a set of new environment variables are available. These variables allow us to configure each SQL Server container as we spin them up. The first version of SQL Server on Linux came with:

ACCEPT_EULA
SA_PASSWORD

These had to be set for the container to start. The SA_PASSWORD has be a complex password or the container will not start. CTP 2.1 introduced:

Read on for the new variables and an example on how to use them.

Related Posts

R In Linux For Windows

David Smith shows how to install and use R in the Windows Subsystem for Linux: R has been available for Windows since the very beginning, but if you have a Windows machine and want to use R within a Linux ecosystem, that’s easy to do with the new Fall Creator’s Update (version 1709). If you […]

Read More

Using mssql-cli

Alan Yu announces mssql-cli, a command-line interface for SQL Server: Mssql-cli is a new and interactive command line tool that provides the following key enhancements over sqlcmd in the Terminal environment: T-SQL IntelliSense Syntax highlighting Pretty formatting for query results, including Vertical Format Multi-line edit mode Configuration file support Mssql-cli aims to offer an improved […]

Read More

Categories