forked from microsoft/bobsql
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request microsoft#19 from microsoft/bobworking
Updated readme and files for sqlcontainers demos
- Loading branch information
Showing
4 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# SQL Server Containers | ||
|
||
In this example, you will learn how to deploy a SQL Server container. | ||
|
||
## Requirements | ||
|
||
All the examples use Docker Desktop which you can install at https://www.docker.com/products/docker-desktop. These examples require an internet connection as images will be pulled to your machine. If you prefer to run these examples on Linux with the bash shell see the SQL Server 2019 workshop at https://aka.ms/sql2019workshop. | ||
|
||
You will also need to download the WideWorldImporters sample backup (which you can download from https://github.com/Microsoft/sql-server-samples/releases/download/wide-world-importers-v1.0/WideWorldImporters-Full.bak) and copy it into the c:\sql_sample_databases directory or modify step2_copyintocontainer.ps1 to put in the proper path for the backup. | ||
|
||
## Steps | ||
|
||
Run each script in "step" order (Example. step1_.., step2_...). To start over, run the cleanup.ps1 script. | ||
|
||
To see a complete tutorial of how to run these scripts look Module 06 of the SQL Server 2019 Workshop at https://aka.ms/sql2019workshop. | ||
|
||
## Notes | ||
|
||
To get a complete list of SQL Server containers for Ubuntu use the Docker Hub page at https://hub.docker.com/_/microsoft-mssql-server. A complete list of SQL Server containers for RHEL can be found at https://catalog.redhat.com/software/containers/explore. | ||
|
||
Tip: To "hack" into the Docker Desktop Virtual Machine on Windows, run a container like the following: | ||
|
||
`docker run --net=host --ipc=host --uts=host --pid=host -it --security-opt=seccomp=unconfined --privileged --rm -v /:/host alpine /bin/sh` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
docker stop sql2019cu1 | ||
docker stop sql2019cu4 | ||
docker start sql2019ga |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters