Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Completely removed pwd from documentation (fixes #1073)
Browse files Browse the repository at this point in the history
  • Loading branch information
vania-pooh committed Mar 17, 2021
1 parent 40e2aea commit 69405ae
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/contributing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Locally can be generated with:

[source,bash]
----
$ docker run --rm -v `pwd`/docs/:/documents/ \
$ docker run --rm -v ./docs/:/documents/ \
asciidoctor/docker-asciidoctor \
asciidoctor -D /documents/output/ index.adoc
----
4 changes: 2 additions & 2 deletions docs/logs.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ $ docker run -d
--name selenoid \
-p 4444:4444 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v `pwd`/config/:/etc/selenoid/:ro \
-v `pwd`/logs/:/opt/selenoid/logs/ \
-v /your/directory/config/:/etc/selenoid/:ro \
-v /your/directory/logs/:/opt/selenoid/logs/ \
aerokube/selenoid:latest-release -log-output-dir /opt/selenoid/logs
----

Expand Down
2 changes: 1 addition & 1 deletion docs/starting-selenoid-manually.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ docker run -d \
--name selenoid \
-p 4444:4444 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v `pwd`/config/:/etc/selenoid/:ro \
-v ./config/:/etc/selenoid/:ro \
aerokube/selenoid:latest-release
----

Expand Down
8 changes: 4 additions & 4 deletions docs/video.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ $ docker pull selenoid/video-recorder:latest-release
. When running Selenoid **in Docker container**:
.. Mount a directory from the host machine (e.g. `~/.aerokube/selenoid/video`) to store video files to `/opt/selenoid/video`.
.. Pass an additional `OVERRIDE_VIDEO_OUTPUT_DIR` environment variable with absolute path to video directory on host machine. This is required because video recorder container, automatically created by Selenoid should save video to host machine video storage directory.
. When running Selenoid **as a binary** - videos will be stored in `video` directory inside current working directory.
. When running Selenoid **as a binary** - videos will be stored in `video` directory inside current working directory.
+
.Example Docker Command
----
$ docker run -d \
--name selenoid \
-p 4444:4444 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v `pwd`/config/:/etc/selenoid/:ro \
-v `pwd`/video/:/opt/selenoid/video/ \
-e OVERRIDE_VIDEO_OUTPUT_DIR=`pwd`/video/ \
-v /your/directory/config/:/etc/selenoid/:ro \
-v /your/directory/video/:/opt/selenoid/video/ \
-e OVERRIDE_VIDEO_OUTPUT_DIR=/your/directory/video/ \
aerokube/selenoid:latest-release
----

Expand Down

0 comments on commit 69405ae

Please sign in to comment.