devmapper: use proper DM_UDEV_DISABLE_*_FLAG when creating the thin-pool

Otherwise udev can unecessarily execute various rules (and issue
scanning IO, etc) against the thin-pool -- which can never be a
top-level device.

Docker-DCO-1.1-Signed-off-by: Mike Snitzer <snitzer@redhat.com> (github: snitm)
devmapper: Add option for specifying an lvm2 created thin-pool device

Ideally lvm2 would be used to create/manage the thin-pool volume that is
then handed to docker to exclusively create/manage the thin and thin
snapshot volumes needed for it's containers.  Managing the thin-pool
outside of docker makes for the most feature-rich method of having
docker utilize device mapper thin provisioning as the backing storage
for docker's containers.  lvm2-based thin-pool management feature
highlights include: automatic or interactive thin-pool resize support,
dynamically change thin-pool features, automatic thinp metadata checking
when lvm2 activates the thin-pool, etc.

Docker will not activate/deactivate the specified thin-pool device but
it will exclusively manage/create thin and thin snapshot volumes in it.

Docker will not take ownership of the specified thin-pool device unless
it has 0 data blocks used and a transaction id of 0.  This should help
guard against using a thin-pool that is already in use.

Also fix typos in setupBaseImage() relative to the thin volume type of
the base image.

Docker-DCO-1.1-Signed-off-by: Mike Snitzer <snitzer@redhat.com> (github: snitm)
devmapper: disable discards by default if dm.thinpooldev was specified

User may still enable discards by setting dm.blkdiscard=true

Docker-DCO-1.1-Signed-off-by: Mike Snitzer <snitzer@redhat.com> (github: snitm)
Fix typos in the user guide main page

Signed-off-by: Joel Friedly <joelfriedly@gmail.com>
devmapper: remove unnecessary else branch in getPoolName()

Docker-DCO-1.1-Signed-off-by: Mike Snitzer <snitzer@redhat.com> (github: snitm)
Updated installation docs for CRUX as a Docker Host.

Docker-DCO-1.1-Signed-off-by: James Mills <prologic@shortcircuit.net.au> (github: therealprologic)
devmapper: cleanup some extraneous branching in setupBaseImage()

Docker-DCO-1.1-Signed-off-by: Mike Snitzer <snitzer@redhat.com> (github: snitm)
Closes #9296 adds a more detailed note about the mount behavior with -v flag

Signed-off-by: Andrew C. Bodine <acbodine@us.ibm.com>
Update format of notes in docs style guide

It seems like all of the notes in the docs are this format.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Increase memory limit in test cases

Signed-off-by: Yohei Ueda <yohei@jp.ibm.com>
Fix a small typo

Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
Merge pull request #9006 from snitm/thin-pool-improvements

Thin pool improvements
Windows should not be officially released.

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Merge pull request #9367 from jfrazelle/no-windows-for-you-yet

Windows should not be in "official release" yet
Merge pull request #9366 from yoheiueda/increase-memory-limit

Increase memory limit in integration-cli test cases
Merge pull request #9275 from jfriedly/userguide-typos

Fix typos in the user guide main page
Explain what the VIRTUAL SIZE means

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
Merge pull request #9282 from SvenDowideit/explain-VIRTUAL-SIZE

Explain what the VIRTUAL SIZE means
Merge pull request #9368 from msteinert/builder-md-typo

Fix a small typo
Merge pull request #9359 from bfirsh/update-note-format-in-docs-style-guide

Update format of notes in docs style guide