From 89915f9a62c9c94290630975f8c2f16f05e6bb33 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Tue, 23 Aug 2022 11:36:27 +0100 Subject: [PATCH] Improve the instructions for running with Docker --- DOCKER.md | 8 +++++++- README.md | 2 +- lib/CARGO.md | 8 +++++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/DOCKER.md b/DOCKER.md index b41da975..725d511f 100644 --- a/DOCKER.md +++ b/DOCKER.md @@ -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 ```

  Getting started

diff --git a/README.md b/README.md index 5fe6d0af..20e517d5 100644 --- a/README.md +++ b/README.md @@ -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 ```

  Getting started

diff --git a/lib/CARGO.md b/lib/CARGO.md index e5964aed..33377638 100644 --- a/lib/CARGO.md +++ b/lib/CARGO.md @@ -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 ```

  Getting started