Skip to content

Commit

Permalink
Remove Trailing Spaces from Docker Docs (#1578)
Browse files Browse the repository at this point in the history
Remove trailing spaces as it causes issues with multi-line commands
  • Loading branch information
caleb-mabry committed Jul 19, 2024
1 parent 7253fc5 commit c802401
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/DOCKER.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
## Launch a primary instance

```
docker run --name some-sqld -p 8080:8080 -ti \
docker run --name some-sqld -p 8080:8080 -ti \
-e SQLD_NODE=primary \
ghcr.io/tursodatabase/libsql-server:latest
```

## Launch a replica instance

```
docker run --name some-sqld-replica -p 8081:8080 -ti
docker run --name some-sqld-replica -p 8081:8080 -ti
-e SQLD_NODE=replica \
-e SQLD_PRIMARY_URL=https://<host>:<port> \
ghcr.io/tursodatabase/libsql-server:lastest
Expand All @@ -20,7 +20,7 @@ docker run --name some-sqld-replica -p 8081:8080 -ti
## Running on Apple Silicon

```
docker run --name some-sqld -p 8080:8080 -ti \
docker run --name some-sqld -p 8080:8080 -ti \
-e SQLD_NODE=primary \
--platform linux/amd64 \
ghcr.io/tursodatabase/libsql-server:latest
Expand All @@ -45,7 +45,7 @@ mount on your local disk.
```
docker run --name some-sqld -ti \
-v ./.data/libsql \
-e SQLD_NODE=primary \
-e SQLD_NODE=primary \
ghcr.io/tursodatabase/libsql-server:latest
```

Expand Down

0 comments on commit c802401

Please sign in to comment.