Files
fn-serverless/docs/operating/docker.md
Tolga Ceylan f27d47f2dd Idle Hot Container Freeze/Preempt Support (#733)
* fn: freeze/unfreeze and eject idle under resource contention
2018-02-07 17:21:53 -08:00

22 lines
694 B
Markdown

# Docker Configuration
To get the best performance, you'll want to ensure that Docker is configured properly. These are the environments known to produce the best results:
1. Linux 4.7 or newer with aufs or overlay2 module.
2. Ubuntu 16.04 LTS or newer with aufs or overlay2 module.
3. Docker 17.06 or newer to be available.
It is important to reconfigure host's Docker with this filesystem module. Thus, in your Docker start scripts you must do as following:
```
docker daemon [...] --storage-driver=overlay2
```
In case you are using Ubuntu, you can reconfigure Docker easily by updating `/etc/docker/daemon.json` and restarting Docker:
```json
{
"storage-driver": "overlay2"
}
```