You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/linux/quickstart-install-connect-docker.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,23 +94,26 @@ Before starting the following steps, make sure that you have selected your prefe
94
94
```bash
95
95
sudo docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=<YourStrong@Passw0rd>" \
96
96
-p 1433:1433 --name sql1 \
97
-
-d mcr.microsoft.com/mssql/server:2017-latest
97
+
-d \
98
+
mcr.microsoft.com/mssql/server:2017-latest
98
99
```
99
100
::: zone-end
100
101
101
102
::: zone pivot="cs1-powershell"
102
103
```PowerShell
103
104
docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=<YourStrong@Passw0rd>" `
104
105
-p 1433:1433 --name sql1 `
105
-
-d mcr.microsoft.com/mssql/server:2017-latest
106
+
-d `
107
+
mcr.microsoft.com/mssql/server:2017-latest
106
108
```
107
109
::: zone-end
108
110
109
111
::: zone pivot="cs1-cmd"
110
112
```cmd
111
113
docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=<YourStrong@Passw0rd>" `
112
114
-p 1433:1433 --name sql1 `
113
-
-d mcr.microsoft.com/mssql/server:2017-latest
115
+
-d `
116
+
mcr.microsoft.com/mssql/server:2017-latest
114
117
```
115
118
::: zone-end
116
119
@@ -128,7 +131,8 @@ Before starting the following steps, make sure that you have selected your prefe
128
131
|**-e "SA_PASSWORD=\<YourStrong@Passw0rd\>"**| Specify your own strong password that is at least 8 characters and meets the [SQL Server password requirements](../relational-databases/security/password-policy.md). Required setting for the SQL Server image. |
129
132
|**-p 1433:1433**| Map a TCP port on the host environment (first value) with a TCP port in the container (second value). In this example, SQL Server is listening on TCP 1433 in the container and this is exposed to the port, 1433, on the host. |
130
133
|**--name sql1**| Specify a custom name for the container rather than a randomly generated one. If you run more than one container, you cannot reuse this same name. |
131
-
|**-d mcr.microsoft.com/mssql/server:2017-latest**| The SQL Server 2017 Linux container image. |
134
+
|**-d**| Run the container in the background (daemon) |
135
+
|** mcr.microsoft.com/mssql/server:2017-latest**| The SQL Server 2017 Linux container image. |
132
136
133
137
3. To view your Docker containers, use the `docker ps` command.
0 commit comments