Skip to content

Commit

Permalink
Include xfsprogs in build environment.
Browse files Browse the repository at this point in the history
devmapper uses xfs by default now. So include xfsprogs in build
environment. Also update docs to reflect the new default.

Signed-off-by: Anusha Ragunathan <[email protected]>
  • Loading branch information
anusha-ragunathan committed Nov 11, 2015
1 parent 6c82fba commit 2b766a4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ RUN apt-get update && apt-get install -y \
ruby1.9.1-dev \
s3cmd=1.1.0* \
ubuntu-zfs \
xfsprogs \
libzfs-dev \
--no-install-recommends

Expand Down
1 change: 1 addition & 0 deletions Dockerfile.simple
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
e2fsprogs \
iptables \
procps \
xfsprogs \
xz-utils \
\
aufs-tools \
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/commandline/daemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,11 @@ options for `zfs` start with `zfs`.
* `dm.fs`

Specifies the filesystem type to use for the base device. The supported
options are "ext4" and "xfs". The default is "ext4"
options are "ext4" and "xfs". The default is "xfs"

Example use:

$ docker daemon --storage-opt dm.fs=xfs
$ docker daemon --storage-opt dm.fs=ext4

* `dm.mkfsarg`

Expand Down
3 changes: 2 additions & 1 deletion project/PACKAGERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ installed and available at runtime:

* iptables version 1.4 or later
* procps (or similar provider of a "ps" executable)
* e2fsprogs version 1.4.12 or later (in use: mkfs.ext4, mkfs.xfs, tune2fs)
* e2fsprogs version 1.4.12 or later (in use: mkfs.ext4, tune2fs)
* xfsprogs (in use: mkfs.xfs)
* XZ Utils version 4.9 or later
* a [properly
mounted](https://github.com/tianon/cgroupfs-mount/blob/master/cgroupfs-mount)
Expand Down

0 comments on commit 2b766a4

Please sign in to comment.