Skip to content

Commit 5ad98cb

Browse files
authored
Split out the documentation of the -d option
Since it was mixed up with the image/tag description.
1 parent 1035d11 commit 5ad98cb

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

docs/linux/quickstart-install-connect-docker.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,23 +90,26 @@ Before starting the following steps, make sure that you have selected your prefe
9090
```bash
9191
sudo docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=<YourStrong@Passw0rd>" \
9292
-p 1433:1433 --name sql1 \
93-
-d mcr.microsoft.com/mssql/server:2017-latest
93+
-d \
94+
mcr.microsoft.com/mssql/server:2017-latest
9495
```
9596
::: zone-end
9697

9798
::: zone pivot="cs1-powershell"
9899
```PowerShell
99100
docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=<YourStrong@Passw0rd>" `
100101
-p 1433:1433 --name sql1 `
101-
-d mcr.microsoft.com/mssql/server:2017-latest
102+
-d `
103+
mcr.microsoft.com/mssql/server:2017-latest
102104
```
103105
::: zone-end
104106

105107
::: zone pivot="cs1-cmd"
106108
```cmd
107109
docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=<YourStrong@Passw0rd>" `
108110
-p 1433:1433 --name sql1 `
109-
-d mcr.microsoft.com/mssql/server:2017-latest
111+
-d `
112+
mcr.microsoft.com/mssql/server:2017-latest
110113
```
111114
::: zone-end
112115

@@ -124,7 +127,8 @@ Before starting the following steps, make sure that you have selected your prefe
124127
| **-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. |
125128
| **-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. |
126129
| **--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. |
127-
| **-d mcr.microsoft.com/mssql/server:2017-latest** | The SQL Server 2017 Linux container image. |
130+
| **-d** | Run the container in the background (daemon) |
131+
| ** mcr.microsoft.com/mssql/server:2017-latest** | The SQL Server 2017 Linux container image. |
128132

129133
3. To view your Docker containers, use the `docker ps` command.
130134

0 commit comments

Comments
 (0)