1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Clarify preferred btrfs-progs dependency and fix some minor inconsistencies

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
This commit is contained in:
Tianon Gravi 2014-12-19 15:28:12 -07:00
parent 0874f9ab77
commit 585202650c

View file

@ -44,12 +44,12 @@ need to package Docker your way, without denaturing it in the process.
To build Docker, you will need the following: To build Docker, you will need the following:
* A recent version of git and mercurial * A recent version of Git and Mercurial
* Go version 1.3 or later * Go version 1.3 or later
* A clean checkout of the source added to a valid [Go * A clean checkout of the source added to a valid [Go
workspace](http://golang.org/doc/code.html#Workspaces) under the path workspace](http://golang.org/doc/code.html#Workspaces) under the path
*src/github.com/docker/docker* (unless you plan to use `AUTO_GOPATH`, *src/github.com/docker/docker* (unless you plan to use `AUTO_GOPATH`,
explained in more detail below). explained in more detail below)
To build the Docker daemon, you will additionally need: To build the Docker daemon, you will additionally need:
@ -57,8 +57,9 @@ To build the Docker daemon, you will additionally need:
* SQLite version 3.7.9 or later * SQLite version 3.7.9 or later
* libdevmapper version 1.02.68-cvs (2012-01-26) or later from lvm2 version * libdevmapper version 1.02.68-cvs (2012-01-26) or later from lvm2 version
2.02.89 or later 2.02.89 or later
* btrfs-progs version 3.8 or later (including commit e5cb128 from 2013-01-07) * btrfs-progs version 3.16.1 or later (unless using an older version is
for the necessary btrfs headers absolutely necessary, in which case 3.8 is the minimum and the note below
regarding `btrfs_noversion` applies)
Be sure to also check out Docker's Dockerfile for the most up-to-date list of Be sure to also check out Docker's Dockerfile for the most up-to-date list of
these build-time dependencies. these build-time dependencies.
@ -162,7 +163,7 @@ SELinux, you will need to use the `selinux` build tag:
export DOCKER_BUILDTAGS='selinux' export DOCKER_BUILDTAGS='selinux'
``` ```
If your version of btrfs-progs is < 3.16.1 (also called btrfs-tools), then you If your version of btrfs-progs (also called btrfs-tools) is < 3.16.1, then you
will need the following tag to not check for btrfs version headers: will need the following tag to not check for btrfs version headers:
```bash ```bash
export DOCKER_BUILDTAGS='btrfs_noversion' export DOCKER_BUILDTAGS='btrfs_noversion'