Skip to content

Commit

Permalink
Improve the instructions for running with Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiemh committed Aug 23, 2022
1 parent 201406b commit 89915f9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
8 changes: 7 additions & 1 deletion DOCKER.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
8 changes: 7 additions & 1 deletion lib/CARGO.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 89915f9

Please sign in to comment.