-
Notifications
You must be signed in to change notification settings - Fork 459
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update Docker single-node cluster documentation (#18045)
* fix: update Docker single-node cluster documentation The documentation for running a single-node cluster locally with Docker was incorrect for the following reasons: - The `docker run` command was passing `--net=roachnet` without telling the user how to create the `roachnet` network. Additionally, the `roachnet` network is not needed when deploying a single-node cluster. - The `docker run` command was passing `--http-addr=localhost:8080` which made the DB Console listen on `localhost` where users could not connect to it from their host machine. - The command to connect to the cluster using the built-in SQL client was using the incorrect hostname/IP, leading to x509 certificate errors when trying to connect to the DB Console (after fixing the `--http-addr` issue above). This PR removes unnecessary options and adds a new to encourage a user to connect to the DB Console whereas it was previously easy to miss when working through the documentation. It also corrects the `docker log` command to `docker logs`. --------- Co-authored-by: Matt Linville (he/him) <[email protected]>
- Loading branch information
1 parent
4ab6a10
commit 8ed1dc0
Showing
4 changed files
with
36 additions
and
30 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
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