Skip to content

Commit 7027d52

Browse files
authored
Merge pull request #7515 from JohnMGant/patch-1
Fixed container name in sample code
2 parents 2be8e15 + 9fdc869 commit 7027d52

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ Before starting the following steps, make sure that you've selected your preferr
303303
4. If the **STATUS** column shows a status of **Up**, then SQL Server is running in the container and listening on the port specified in the **PORTS** column. If the **STATUS** column for your SQL Server container shows **Exited**, see the [Troubleshooting section of the configuration guide](./sql-server-linux-docker-container-troubleshooting.md). It will be ready for connection, once the SQL Server error logs display the message: `SQL Server is now ready for client connections. This is an informational message; no user action is required`. You can review the SQL Server error log inside the container using the command:
304304

305305
```bash
306-
docker exec -t sqlrhel cat /var/opt/mssql/log/errorlog | grep connection
306+
docker exec -t sql1 cat /var/opt/mssql/log/errorlog | grep connection
307307
```
308308

309309
The `--hostname` parameter as discussed above, changes the internal name of the container to a custom value. This changes the internal name of the container to a custom value. This is the name you'll see returned in the following Transact-SQL query:
@@ -563,4 +563,4 @@ After you have tried using the SQL Server container image for Docker, you might
563563

564564
For a tutorial on how to restore database backup files into a container, see [Restore a SQL Server database in a Linux Docker container](tutorial-restore-backup-in-sql-server-container.md). Explore other scenarios, such as running [multiple containers](sql-server-linux-docker-container-deployment.md#multiple), [data persistence](sql-server-linux-docker-container-configure.md#persist), and [troubleshooting](sql-server-linux-docker-container-troubleshooting.md).
565565

566-
Also, check out the [mssql-docker GitHub repository](https://github.com/Microsoft/mssql-docker) for resources, feedback, and known issues.
566+
Also, check out the [mssql-docker GitHub repository](https://github.com/Microsoft/mssql-docker) for resources, feedback, and known issues.

0 commit comments

Comments
 (0)