Skip to content

Instantly share code, notes, and snippets.

@dasgoll
Created April 22, 2024 07:46
Show Gist options
  • Save dasgoll/8e400393bfb3d03d2ef8805769bda53d to your computer and use it in GitHub Desktop.
Save dasgoll/8e400393bfb3d03d2ef8805769bda53d to your computer and use it in GitHub Desktop.
Run mssql server as a docker container
docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=Str0ngPa$$w0rd' -p 1433:1433 -d mcr.microsoft.com/mssql/server
sqlcmd -S localhost -U sa -P 'Str0ngPa$$w0rd'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment