简体   繁体   中英

Create login for local Windows user on MSSQL (linux docker)

Is it possible to create a windows user login for MSSQL that runs as linux based docker image on the Windows PC (no Active Directory)?

CREATE LOGIN [PC-NAME\LocalUser] FROM WINDOWS

If yes, which configuration the docker image needs, to be able to do this? Currently I got the following error:

Windows NT user or group 'PC-NAME\LocalUser' not found. Check the name again.

MS Docs: Configure SQL Server 2017 container images on Docker

Eugene_Resnick Aug 18, 2017 Anyway to connect to the DB without using SA? Either a local account on the Windows host or through a gMSA on the host containers domain? LuisBosquez Aug 23, 2017

@Eugene_Resnick Integrated Authentication is still not supported on SQL Server on Linux . You can create a new login and connect to it like a regular installation of SQL Server. In fact, we recommend at least changing the SA password after it was first provisioned.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM