Docker를 사용하여 SQL Server 컨테이너 이미지 실행
다운로드
1 | sudo docker pull mcr.microsoft.com/mssql/server:2017-latest |
실행
1 | sudo docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=<YourStrong!Passw0rd>' \ |
1 | sudo docker ps -a |
삭제
1 | sudo docker stop sql1 |
1 | sudo docker pull mcr.microsoft.com/mssql/server:2017-latest |
1 | sudo docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=<YourStrong!Passw0rd>' \ |
1 | sudo docker ps -a |
1 | sudo docker stop sql1 |