Skip to content

Commit 6fd7f4f

Browse files
committed
updated readme
1 parent b213670 commit 6fd7f4f

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,21 @@ your `$PATH`.
5151
Download the latest Microsoft Installer (`.msi` file) in
5252
[releases](https://github.com/dolthub/doltgresql/releases) and run it.
5353

54+
## Docker
55+
56+
Doltgres publishes an official Docker image on every release:
57+
58+
* [dolthub/doltgresql](https://hub.docker.com/r/dolthub/doltgresql)
59+
60+
Run it on your local Docker like this:
61+
62+
```bash
63+
$ docker run -e DOLTGRES_PASSWORD=myPassword -p 5432:5432 dolthub/doltgresql:latest
64+
```
65+
5466
## Building From Source
5567

56-
Please follow the [Contributor's
57-
Guide](https://github.com/dolthub/doltgresql/blob/main/CONTRIBUTING.md#getting-set-up) to learn how
58-
to build from source.
68+
To produce a binary from source code, run `./scripts/build.sh`.
5969

6070
# Getting Started
6171

@@ -64,6 +74,9 @@ directory. The default password will be `password`, just like in Postgres. You c
6474
`config.yaml` file or set the `DOLTGRES_DATA_DIR` environment variable to use a different directory
6575
for your databases.
6676

77+
You can change the name and password of the super-user by setting the `DOLTGRES_USER` and
78+
`DOLTGRES_PASSWORD` environment variables before running `doltgres` for the first time.
79+
6780
```bash
6881
$ doltgres
6982
INFO[0000] Server ready. Accepting connections.

0 commit comments

Comments
 (0)