From e78ea16a1716c2c07682af2055654cbad66cff23 Mon Sep 17 00:00:00 2001 From: Sam Mingo Date: Sat, 22 Sep 2018 19:12:00 -0400 Subject: [PATCH 1/2] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 3cb5f1f..1d03201 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,14 @@ Requirements: - You should see the final EPUB/MOBI/PDF files in the `output` directory after the above runs. - The file may be owned by the root user. +**NOTE:** You'll have to allow docker access to a directory that's local to your system. The safest way to do this is as follows: + +``` +$ mkdir /tmp/sreoutput +$ chcon -Rt svirt_sandbox_file_t /tmp/sreoutput +$ docker run --rm --volume "/tmp/sreoutput:/output" captn3m0/google-sre-ebook:latest +``` + The build for the above Docker image can be audited at . ## macOS From da6d5306a6df6b15a72399be9151f9af8dcd7a96 Mon Sep 17 00:00:00 2001 From: Sam Mingo Date: Sat, 22 Sep 2018 19:12:34 -0400 Subject: [PATCH 2/2] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d03201..05cd039 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,9 @@ Requirements: - Docker -`docker run --rm --volume "$(pwd):/output" captn3m0/google-sre-ebook:latest` +``` +$ docker run --rm --volume "$(pwd):/output" captn3m0/google-sre-ebook:latest +``` - You should see the final EPUB/MOBI/PDF files in the `output` directory after the above runs. - The file may be owned by the root user.