Skip to content

Steps to deploy microsoft sql server in docker container

Notifications You must be signed in to change notification settings

weisiang9678/sql_server_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

sql_server_docker

Steps to deploy microsoft sql server in docker container with docker-compose (Ubuntu) Change the image for other linux distributions for non Ubuntu

  1. $mkdir for the volume in docker-compose file
  2. $chown 1001 directory of the volume
  3. run the docker-compose file with $docker-compose up
  4. $docker exec -it "bash"
  5. add sqlcmd to path by $export PATH=$PATH:/opt/mssql/bin:/opt/mssql-tools/bin
  6. connect to sql server with $sqlcmd localhost -U sa -P

About

Steps to deploy microsoft sql server in docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages