mirror of
https://github.com/trailbaseio/trailbase.git
synced 2025-12-17 23:54:28 -06:00
Change the order so that alias of trail works properly. (#92)
Add missing `-p` to `mkdir`. Otherwise a pre-existing `traildepot` will lead to non-zero exit code. --------- Co-authored-by: Sebastian Jeltsch <ignatz@users.noreply.github.com>
This commit is contained in:
@@ -104,7 +104,7 @@ Alternatively, run TrailBase using the Docker image:
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
alias trail='
|
alias trail='
|
||||||
mkdir traildepot && \
|
mkdir -p traildepot && \
|
||||||
docker run \
|
docker run \
|
||||||
--network host \
|
--network host \
|
||||||
--mount type=bind,source="$PWD"/traildepot,target=/app/traildepot \
|
--mount type=bind,source="$PWD"/traildepot,target=/app/traildepot \
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ export const installDocker= `
|
|||||||
# Docker is used here merely as an easy, portable way to install TrailBase.
|
# Docker is used here merely as an easy, portable way to install TrailBase.
|
||||||
# To make this persistent, you'll have to add the alias to your shell's rc.
|
# To make this persistent, you'll have to add the alias to your shell's rc.
|
||||||
alias trail='
|
alias trail='
|
||||||
mkdir traildepot && \\
|
mkdir -p traildepot && \\
|
||||||
docker run \\
|
docker run \\
|
||||||
--network host \\
|
--network host \\
|
||||||
--mount type=bind,source="$PWD"/traildepot,target=/app/traildepot \\
|
--mount type=bind,source="$PWD"/traildepot,target=/app/traildepot \\
|
||||||
|
|||||||
Reference in New Issue
Block a user