2021-05-14
1223
#docker
Kyle Galbraith
3794
May 14, 2021 â‹… 4 min read

How to run SQL Server in a Docker container

Kyle Galbraith Software engineer and entrepreneur. Love traveling and experiencing life. kylegalbraith.com/learn-aws.

Recent posts:

Using React Shepherd To Build A Site Tour

Using React Shepherd to build a site tour

React Shepherd stands out as a site tour library due to its elegant UI and out-of-the-box, easy-to-use React Context implementation.

Onuorah Bonaventure
May 1, 2024 â‹… 14 min read
A Guide To Cookies In Next Js

A guide to cookies in Next.js

Cookies are crucial to web development. This article will explore how to handle cookies in your Next.js applications.

Georgey V B
Apr 30, 2024 â‹… 10 min read
Handling Dates In JavaScript With Tempo

Handling dates in JavaScript with Tempo

Use the Tempo library to format dates and times in JavaScript while accounting for time zones, daylight saying time, and date internationalization.

Amazing Enyichi Agu
Apr 30, 2024 â‹… 8 min read
A Guide To Deno.cron

A guide to Deno.cron

This guide explores how to use the cron package in Deno, `Deno.cron`, to handle scheduling tasks with specific commands.

Rosario De Chiara
Apr 29, 2024 â‹… 5 min read
View all posts

8 Replies to "How to run SQL Server in a Docker container"

  1. SA_PASSWORD: “change_this_password” as shown on the docker-compose.yml file did not work for me and container logs had the following message:

    2019-07-17 14:19:20.63 spid31s ERROR: Unable to set system administrator password: Password validation failed. The password does not meet SQL Server password policy requirements because it is not complex enough. The password must be at least 8 characters long and contain characters from three of the following four sets: Uppercase letters, Lowercase letters, Base 10 digits, and Symbols..
    2019-07-17 14:19:20.63 spid31s An error occurred during server setup. See previous errors for more information.

  2. It seems that you need to change your password with something complex that fulfills the given criteria. “AEdCC.b9” should work I guess.

  3. Can you tell me which npm package you are using and what version? I tried `npm i -g mssql` but that will not take the arguments you describe, it says no such file -u.

  4. where does the Data and log files stored? If it is inside the container by default, how can we map to the host MacOs volume?

    How do we backup the database to outside of the container?

Leave a Reply