mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
I've found this to be extremely useful. Not that I expect anyone to be able to find this document on their own accord considering the breadth of documentation that we have, this can still be useful for linking to from slack at least (what docs are really for, right?) also the triggers doc stuck out as confusing considering all the triggers stuff going on, I was unable to comprehend how exactly it was helpful other than making people aware that openstack exists and they could build an extension into fn for it if they want to, but this seems true of most things? so, removed it, if anyone objects maybe we could improve it a little?
22 lines
694 B
Markdown
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.10 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"
|
|
}
|
|
```
|