summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElisey Zanko <elisey.zanko@gmail.com>2023-03-31 10:40:08 +0500
committerGitHub <noreply@github.com>2023-03-30 22:40:08 -0700
commit8a7327c14b8b5fca98126dd06ba293446c644064 (patch)
tree604ff4f36fe8f114d3658f4a350965ab301a39c5
parentaffd839ae837c838cb2de6e4ea4d2a95e29d72a8 (diff)
downloadtox-git-8a7327c14b8b5fca98126dd06ba293446c644064.tar.gz
Correct Docker image working dir (#2965)
-rw-r--r--docs/faq.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/faq.rst b/docs/faq.rst
index 3698f854..e1864e6f 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -321,15 +321,15 @@ tox without any flags:
.. code-block:: shell
- docker run -v `pwd`:/home/tox/tests -it --rm 31z4/tox
+ docker run -v `pwd`:/tests -it --rm 31z4/tox
Because an entry point of the image is ``tox``, you can easily pass subcommands and flags:
.. code-block:: shell
- docker run -v `pwd`:/home/tox/tests -it --rm 31z4/tox run-parallel -e black,py311
+ docker run -v `pwd`:/tests -it --rm 31z4/tox run-parallel -e black,py311
-Note, that the image is configured with a working directory at ``/home/tox/tests``.
+Note, that the image is configured with a working directory at ``/tests``.
If you want to install additional Python versions/implementations or Ubuntu packages you can create a derivative image.
Just make sure you switch the user to ``root`` when needed and switch back to ``tox`` afterwards: