|
Answer» How to START a SQL Server Container in Docker? To start a SQL Server container in Docker we use only one line command which helps you start SQL. And Docker Hub has placed official SQL Server docker image. Here i have CLARIFY you that i HIGHLY recommend naming your running instances using the --name flag. Below is the SINGLE command.
 In above command it is call our container sqlserver and i have initialize "sa" user account. And to EXPOSE SQL Server we use port 1433 to access database remotely. And to start our container we use detached (-d). And this will free the terminal from other user inputs. You can also change this value as per your requirements.
|