Commit e74d437e authored by Adam Hawkins's avatar Adam Hawkins

Add missing -v option to examples

parent e86da8ec
Pipeline #5016687 passed with stages
in 43 seconds
......@@ -28,14 +28,14 @@ site. You can do that with Docker containers.
Most examples (even the official images) do something like this:
```bash
docker run --rm -it "${PWD}:/data" some_image --output /data
docker run --rm -it -v "${PWD}:/data" some_image --output /data
```
Where `some_image` writes files to `/data`. I do the same thing to
generate my Ruby dependencies:
```bash
docker run --rm -it "${PWD}:/data" -w /data ruby:2.3 \
docker run --rm -it -v "${PWD}:/data" -w /data ruby:2.3 \
bundle package --all
```
......@@ -56,7 +56,7 @@ files back to the bind mount. The workaround is to run the container
as the current user (`-u $(id -u)`). Here's an example:
```bash
docker run --rm -it -u $(id -u) "${PWD}:/data" -w /data ruby:2.3 \
docker run --rm -it -u $(id -u) -v "${PWD}:/data" -w /data ruby:2.3 \
bundle package --all
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment