Adds details for using docker chcon permissions (#12)
Adds details for using docker chcon permissions
This commit is contained in:
parent
549263447e
commit
591e4d875b
12
README.md
12
README.md
|
@ -14,11 +14,21 @@ Requirements:
|
||||||
|
|
||||||
- Docker
|
- 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.
|
- 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.
|
- 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 <https://cloud.docker.com/swarm/captn3m0/repository/docker/captn3m0/google-sre-ebook/builds>.
|
The build for the above Docker image can be audited at <https://cloud.docker.com/swarm/captn3m0/repository/docker/captn3m0/google-sre-ebook/builds>.
|
||||||
|
|
||||||
## macOS
|
## macOS
|
||||||
|
|
Loading…
Reference in New Issue