daemon/graphdriver/register: separate overlay2
Make it possible to disable overlay and overlay2 separately. With this commit, we now have `exclude_graphdriver_overlay` and `exclude_graphdriver_overlay2` build tags for the engine, which is in line with any other graph driver. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Upstream-commit: d014be5426c869d429c1a11cad9e76321dd7a326 Component: engine
This commit is contained in:
@ -5,5 +5,4 @@ package register
|
||||
import (
|
||||
// register the overlay graphdriver
|
||||
_ "github.com/docker/docker/daemon/graphdriver/overlay"
|
||||
_ "github.com/docker/docker/daemon/graphdriver/overlay2"
|
||||
)
|
||||
|
||||
@ -0,0 +1,8 @@
|
||||
// +build !exclude_graphdriver_overlay2,linux
|
||||
|
||||
package register
|
||||
|
||||
import (
|
||||
// register the overlay2 graphdriver
|
||||
_ "github.com/docker/docker/daemon/graphdriver/overlay2"
|
||||
)
|
||||
Reference in New Issue
Block a user