Improve the instructions for running with Docker

This commit is contained in:
Tobie Morgan Hitchcock 2022-08-23 11:36:27 +01:00
parent 201406b7b3
commit 89915f9a62
3 changed files with 15 additions and 3 deletions

View file

@ -163,7 +163,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:latest
```
<h2><img height="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/gettingstarted.svg?raw=true">&nbsp;&nbsp;Getting started</h2>

View file

@ -200,7 +200,7 @@ docker run --rm -p 8000:8000 surrealdb/surrealdb:latest start
Update the image to the latest version:
```bash
docker pull surrealdb/surrealdb
docker pull surrealdb/surrealdb:latest
```
<h2><img height="20" src="/img/gettingstarted.svg">&nbsp;&nbsp;Getting started</h2>

View file

@ -118,7 +118,13 @@ iwr https://install.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 --rm -p 8000:8000 surrealdb/surrealdb:latest -vvv start
docker run --rm -p 8000:8000 surrealdb/surrealdb:latest start
```
Update the image to the latest version:
```bash
docker pull surrealdb/surrealdb:latest
```
<h2><img height="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/gettingstarted.svg?raw=true">&nbsp;&nbsp;Getting started</h2>