Skip to content

Commit 8a7327c

Browse files
authored
Correct Docker image working dir (#2965)
1 parent affd839 commit 8a7327c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/faq.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,15 +321,15 @@ tox without any flags:
321321

322322
.. code-block:: shell
323323
324-
docker run -v `pwd`:/home/tox/tests -it --rm 31z4/tox
324+
docker run -v `pwd`:/tests -it --rm 31z4/tox
325325
326326
Because an entry point of the image is ``tox``, you can easily pass subcommands and flags:
327327

328328
.. code-block:: shell
329329
330-
docker run -v `pwd`:/home/tox/tests -it --rm 31z4/tox run-parallel -e black,py311
330+
docker run -v `pwd`:/tests -it --rm 31z4/tox run-parallel -e black,py311
331331
332-
Note, that the image is configured with a working directory at ``/home/tox/tests``.
332+
Note, that the image is configured with a working directory at ``/tests``.
333333

334334
If you want to install additional Python versions/implementations or Ubuntu packages you can create a derivative image.
335335
Just make sure you switch the user to ``root`` when needed and switch back to ``tox`` afterwards:

0 commit comments

Comments
 (0)