Improve Docker start instructions in README (#49)

* Update README.md

Added exception handling notice starting docker image.

* Update README.md

wording

* Update README.md

Changed initial command and added section to update docker image on demand.
This commit is contained in:
Mario G 2022-08-23 10:35:07 +02:00 committed by GitHub
parent e69846a658
commit 201406b7b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -194,7 +194,13 @@ iwr https://windows.surrealdb.com -useb | iex
Docker can be used to manage and run SurrealDB database instances without the need to install any command-line tools. The SurrealDB docker container contains the full command-line tools for importing and exporting data from a running server, or for running a server itself.
```bash
docker run --pull --rm -p 8000:8000 surrealdb/surrealdb:latest start
docker run --rm -p 8000:8000 surrealdb/surrealdb:latest start
```
Update the image to the latest version:
```bash
docker pull surrealdb/surrealdb
```
<h2><img height="20" src="/img/gettingstarted.svg">&nbsp;&nbsp;Getting started</h2>