Skip to content

Allow passing a new login & password as environment variables #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
twright-msft opened this issue Jan 18, 2017 · 1 comment
Open

Comments

@twright-msft
Copy link
Collaborator

This would allow for setting up the SQL Server instance using a randomly generated password for the SA login, creating the new login using the login name and password provided and then disabling the SA login.

@twright-msft
Copy link
Collaborator Author

FYI - We released CTP 1.4 today. This release of the mssql-server-linux image now includes the mssql-tools package (sqlcmd and bcp) in it.

Executing sqlcmd as part of the entrypoint.sh script can be used for this kind of scenario for now. Since this is such a commonplace requirement we want to make it easier in the future, but sqlcmd will provide a reasonable option until then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant