1
0
Fork 0
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:
Victor Vieux 2014-03-18 11:10:00 -07:00
commit c584910b55
3 changed files with 17 additions and 3 deletions

View file

@ -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

View file

@ -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
View file

@ -0,0 +1,7 @@
// +build !exclude_graphdriver_btrfs
package runtime
import (
_ "github.com/dotcloud/docker/runtime/graphdriver/btrfs"
)