Skip to content

Commit a546885

Browse files
author
Kazuyoshi Kato
committed
docs: list all snapshotter-related build flags
We can disable most of snapshotters, but they are not documented. Signed-off-by: Kazuyoshi Kato <[email protected]>
1 parent 218db0f commit a546885

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

BUILDING.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,13 @@ make generate
117117
```
118118

119119
> *Note*: Several build tags are currently available:
120-
> * `no_btrfs`: A build tag disables building the btrfs snapshot driver.
121120
> * `no_cri`: A build tag disables building Kubernetes [CRI](http://blog.kubernetes.io/2016/12/container-runtime-interface-cri-in-kubernetes.html) support into containerd.
122121
> See [here](https://github.com/containerd/cri-containerd#build-tags) for build tags of CRI plugin.
123-
> * `no_devmapper`: A build tag disables building the device mapper snapshot driver.
122+
> * snapshotters (alphabetical order)
123+
> * `no_aufs`: A build tag disables building the aufs snapshot driver.
124+
> * `no_btrfs`: A build tag disables building the Btrfs snapshot driver.
125+
> * `no_devmapper`: A build tag disables building the device mapper snapshot driver.
126+
> * `no_zfs`: A build tag disables building the ZFS snapshot driver.
124127
>
125128
> For example, adding `BUILDTAGS=no_btrfs` to your environment before calling the **binaries**
126129
> Makefile target will disable the btrfs driver within the containerd Go build.

0 commit comments

Comments
 (0)