mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* Add information about host's Docker configuration * Move Docker block to its own file * Fix configuration mistake
674 B
674 B
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:
- Linux 4.7 or newer with Overlay2 module
- Ubuntu 16.04 LTS or newer with Overlay2 module
- Docker 1.12 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:
{
"storage-driver": "overlay2"
}