Improve the instructions for running with Docker
This commit is contained in:
parent
201406b7b3
commit
89915f9a62
3 changed files with 15 additions and 3 deletions
|
@ -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"> Getting started</h2>
|
||||
|
|
|
@ -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"> Getting started</h2>
|
||||
|
|
|
@ -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"> Getting started</h2>
|
||||
|
|
Loading…
Reference in a new issue