Minor edit

This commit is contained in:
Kolloom 2019-06-11 00:59:36 -05:00
parent 65c23d9e9f
commit e2eac0bd96

View file

@ -88,6 +88,8 @@ docker-compose run manim example_scenes.py SquareToCircle -l
``` ```
The command needs to be run as root if your username is not in the docker group. The command needs to be run as root if your username is not in the docker group.
example_scenes.py or your own project should point to the file on the host machine.
After running the output will say files ready at `tmp/output/`, which is inside the container. Your OUTPUT_DIR is bind mounted to this `/tmp/output` so any changes made by the container to `/tmp/output` will be mirrored on your OUTPUT_DIR. `/media/` will be created in `OUTPUT_DIR`. After running the output will say files ready at `tmp/output/`, which is inside the container. Your OUTPUT_DIR is bind mounted to this `/tmp/output` so any changes made by the container to `/tmp/output` will be mirrored on your OUTPUT_DIR. `/media/` will be created in `OUTPUT_DIR`.
`-p` won't work as manim would look for video player in the container system, which it does not have. `-p` won't work as manim would look for video player in the container system, which it does not have.