fn: read-only root fs becomes default (#1019)

* fn: read-only root fs becomes default

Set root fs as read-only by default.

* fn: update doc for FN_DISABLE_READONLY_ROOTFS
This commit is contained in:
Tolga Ceylan
2018-05-30 18:17:28 -07:00
committed by GitHub
parent f4712b4f5b
commit d190167580
4 changed files with 7 additions and 9 deletions

View File

@@ -39,6 +39,7 @@ docker run -e VAR_NAME=VALUE ...
| `DOCKER_CERT_PATH` | Set this option to specify where CA cert placeholder. | ~/.docker/cert.pem |
| `FN_MAX_FS_SIZE_MB` | Set this option in MB to pass a `size` option to Docker storage driver. This limits the file system size for all containers on the system. See [Docker storage driver options per container](https://docs.docker.com/engine/reference/commandline/run/#set-storage-driver-options-per-container) documentation for details. | None |
| `FN_DOCKER_NETWORKS` | Set this option with a list of docker networks for function containers to use. If unset, default docker network is used. | None |
| `FN_DISABLE_READONLY_ROOTFS` | Set this option to enable writable root filesystem. By default root filesystem is mounted read-only. | None |
## Starting without Docker in Docker