Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation now that docker hub is not supported #711

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions windows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ This includes samples for setting up mssql-server in Windows Containers. Current
- __[mssql-server-windows-express](mssql-server-windows-express/)__
- __[mssql-server-windows](mssql-server-windows/)__

The docker hub repos are unavailable as SQL Server on windows container preview program is suspended. You can refer the below link to see how you can create your own custom image for SQL container.

https://techcommunity.microsoft.com/t5/sql-server/update-beta-program-for-sql-server-on-windows-container-is/ba-p/2516639

## Note: These images are provided AS-IS. Microsoft currently does not support running SQL Server on Windows Containers in a production scenario.
2 changes: 1 addition & 1 deletion windows/mssql-server-windows-developer/dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM microsoft/windowsservercore
FROM mcr.microsoft.com/windows/servercore:ltsc2019

LABEL maintainer "Perry Skountrianos"

Expand Down
6 changes: 6 additions & 0 deletions windows/mssql-server-windows-developer/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ To run this sample, you need the following prerequisites.

**Software prerequisites:**

The docker hub repos are unavailable as SQL Server on windows container preview program is suspended. You therefore have to build an image from the Dockerfile:

````
docker build -t microsoft/mssql-server-windows-developer .
````

You can run the container with the following command.
(Note the you'll need Windows Server 2016 or Windows 10)

Expand Down
2 changes: 1 addition & 1 deletion windows/mssql-server-windows-express/dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM microsoft/windowsservercore
FROM mcr.microsoft.com/windows/servercore:ltsc2019

LABEL maintainer "Perry Skountrianos"

Expand Down
9 changes: 7 additions & 2 deletions windows/mssql-server-windows-express/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ To run this sample, you need the following prerequisites.

**Software prerequisites:**

The docker hub repos are unavailable as SQL Server on windows container preview program is suspended. You therefore have to build an image from the Dockerfile:

````
docker build -t microsoft/mssql-server-windows-express .
````

You can run the container with the following command.
(Note the you'll need Windows Server 2016 or Windows 10)

Expand Down Expand Up @@ -81,8 +87,7 @@ The image provides two environment variables to optionally set: </br>

This example shows all parameters in action:
```
docker run -d -p 1433:1433 -v C:/temp/:C:/temp/ -e sa_password=<YOUR SA PASSWORD> -e ACCEPT_EULA=Y -e attach_dbs="[{'dbName':'SampleDB','dbFiles':['C:\\temp\\sampledb.mdf','C:\\temp\\sampledb_log.
ldf']}]" microsoft/mssql-server-windows-express
docker run -d -p 1433:1433 -v C:/temp/:C:/temp/ -e sa_password=<YOUR SA PASSWORD> -e ACCEPT_EULA=Y -e attach_dbs="[{'dbName':'SampleDB','dbFiles':['C:\\temp\\sampledb.mdf','C:\\temp\\sampledb_log.ldf']}]" microsoft/mssql-server-windows-express
```

<a name=sample-details></a>
Expand Down
2 changes: 1 addition & 1 deletion windows/mssql-server-windows/dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM microsoft/windowsservercore
FROM mcr.microsoft.com/windows/servercore:ltsc2019

LABEL maintainer "Perry Skountrianos"

Expand Down
6 changes: 6 additions & 0 deletions windows/mssql-server-windows/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ To run this sample, you need the following prerequisites.

**Software prerequisites:**

The docker hub repos are unavailable as SQL Server on windows container preview program is suspended. You therefore have to build an image from the Dockerfile:

````
docker build -t microsoft/mssql-server-windows .
````

You can run the container with the following command.
(Note the you'll need Windows Server 2016 or Windows 10)

Expand Down