Do not build using sudo on Mac OS X

Building using sudo fails on Mac OS X, but is necessary on Linux.

See https://groups.google.com/d/topic/docker-dev/1EW_pfA1t9o/discussion for discussion.

Docker-DCO-1.1-Signed-off-by: Glyn Normington <gnormington@gopivotal.com> (github: glyn)
Bump to version v1.0.0
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: rhatdan)
Change version to v1.0.0-dev
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: rhatdan)
Move libcontainer deps into libcontainer
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: rhatdan)
Gofmt imports
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: rhatdan)
Update contrib/check-config.sh to check for CGROUP_FREEZER (which is newly required), and to use /proc/mounts for checking if we have a cgroup hierarchy instead of using /proc/$$/mountinfo (which on systemd might not list the cgroup hierarchy)

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)

Docker-DCO-1.1-Signed-off-by: Tianon Gravi <admwiggin@gmail.com> (github: rhatdan)
Avoid history expansion.

Docker-DCO-1.1-Signed-off-by: Jeff Welch <whatthejeff@gmail.com> (github: whatthejeff)

Docker-DCO-1.1-Signed-off-by: Jeff Welch <whatthejeff@gmail.com> (github: rhatdan)
Improve documentation on Ubuntu for getting the latest release of
docker.

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: rhatdan)
Repaired broken links
Docker-DCO-1.1-Signed-off-by: Calin Cruceru <crucerucalincristian@gmail.com> (github: crucerucalin)

Docker-DCO-1.1-Signed-off-by: Cruceru Calin-Cristian <crucerucalincristian@gmail.com> (github: rhatdan)
docs: Fix docs' styling conflict with common names

Docker-DCO-1.1-Signed-off-by: O.S. Tezer <ostezer@gmail.com> (github: ostezer)

Closes issue #6329

Docker-DCO-1.1-Signed-off-by: O.S. Tezer <ostezer@gmail.com> (github: rhatdan)
Fix some bullet points so they render correctly.

Docker-DCO-1.1-Signed-off-by: chrismckinnel <chris.mckinnel@tangentlabs.co.uk> (github: rhatdan)
minor spelling fix

Docker-DCO-1.1-Signed-off-by: Len Weincier <len@cloudafrica.net> (github: rhatdan)
registry: remove unneeded time.Duration()

These constants don't need to use time.Duration(). Fixup this file since
it seems to be the only one using this style.

Docker-DCO-1.1-Signed-off-by: Brandon Philips <brandon.philips@coreos.com> (github: philips)

Docker-DCO-1.1-Signed-off-by: Brandon Philips <brandon@ifup.co> (github: rhatdan)
Remove and vendor libcontainer
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: rhatdan)
Update libcontainer imports
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: rhatdan)
Use libcontainer version tag for vendor script
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: rhatdan)
Fixed up if statement

Signed-off-by: Levi Gross <levi@levigross.com>

Docker-DCO-1.1-Signed-off-by: Levi Gross <levi@levigross.com> (github: levigross)

Docker-DCO-1.1-Signed-off-by: Levi Gross <levi@levigross.com> (github: rhatdan)
Add Dinesh Subhraveti to MAINTAINERS

Docker-DCO-1.1-Signed-off-by: Dinesh Subhraveti <dineshs@altiscale.com> (github: dineshs-altiscale)

Docker-DCO-1.1-Signed-off-by: Dinesh Subhraveti <dineshs@altiscale.com> (github: rhatdan)
Added highlight for the COPY instruction

Docker-DCO-1.1-Signed-off-by: Asbjorn Enge <asbjorn@hanafjedle.net> (github: asbjornenge)

Docker-DCO-1.1-Signed-off-by: Asbjørn Enge <asbjorn@hanafjedle.net> (github: rhatdan)
Docs: Fixed logged-in header username label target
Docker-DCO-1.1-Signed-off-by: O.S. Tezer <ostezer@gmail.com> (github: ostezer)

Docker-DCO-1.1-Signed-off-by: O.S. Tezer <ostezer@gmail.com> (github: rhatdan)