mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #4650 from vbatts/vbatts-btrfs_build_tags
btrfs: build tags
This commit is contained in:
commit
c584910b55
3 changed files with 17 additions and 3 deletions
|
@ -160,15 +160,23 @@ export DOCKER_BUILDTAGS='apparmor'
|
|||
There are build tags for disabling graphdrivers as well. By default, support
|
||||
for all graphdrivers are built in.
|
||||
|
||||
To disable devicemapper
|
||||
To disable btrfs:
|
||||
```bash
|
||||
export DOCKER_BUILDTAGS='exclude_graphdriver_btrfs'
|
||||
```
|
||||
|
||||
To disable devicemapper:
|
||||
```bash
|
||||
export DOCKER_BUILDTAGS='exclude_graphdriver_devicemapper'
|
||||
```
|
||||
To disable aufs
|
||||
|
||||
To disable aufs:
|
||||
```bash
|
||||
export DOCKER_BUILDTAGS='exclude_graphdriver_aufs'
|
||||
```
|
||||
|
||||
NOTE: if you need to set more than one build tag, space separate them.
|
||||
|
||||
### Static Daemon
|
||||
|
||||
If it is feasible within the constraints of your distribution, you should
|
||||
|
|
|
@ -16,7 +16,6 @@ import (
|
|||
"github.com/dotcloud/docker/runtime/execdriver/execdrivers"
|
||||
"github.com/dotcloud/docker/runtime/execdriver/lxc"
|
||||
"github.com/dotcloud/docker/runtime/graphdriver"
|
||||
_ "github.com/dotcloud/docker/runtime/graphdriver/btrfs"
|
||||
_ "github.com/dotcloud/docker/runtime/graphdriver/vfs"
|
||||
_ "github.com/dotcloud/docker/runtime/networkdriver/lxc"
|
||||
"github.com/dotcloud/docker/runtime/networkdriver/portallocator"
|
||||
|
|
7
runtime/runtime_btrfs.go
Normal file
7
runtime/runtime_btrfs.go
Normal file
|
@ -0,0 +1,7 @@
|
|||
// +build !exclude_graphdriver_btrfs
|
||||
|
||||
package runtime
|
||||
|
||||
import (
|
||||
_ "github.com/dotcloud/docker/runtime/graphdriver/btrfs"
|
||||
)
|
Loading…
Add table
Reference in a new issue