More ipallocator refactoring

Now x1.5 faster

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Implement allocating IPs from CIDR within bridge network

Fixes #4986

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
use tune2fs to disable ext4 mount counts and mount intervals
Signed-off-by: Marc Tamsky <mtamsky@gmail.com> (github: tamsky)
Fix gh#7747 - filter bare newline output and log client pull to stdout

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
Fix duplicate iptables rules

If iptables version is < 1.4.11, try to delete the rule vs. checking if it exists. Fixes #6831.

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jfrazelle@users.noreply.github.com> (github: jfrazelle)
use correct apt-key for test.docker.io/ubuntu

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Document how to pass ENV vars to the user's shell

As this is a somewhat common question.

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
Use defined variable

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Use unlocked version of changes for GetImage

Fixes #7999

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Test for docker ps -s

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Signed-off-by: David Gebler <davidgebler@gmail.com>

	modified:   userguide/dockerlinks.md
    fixes incorrect environment variable labeling in container linking guide
Allow /etc/hosts and /etc/resolv.conf to be updated both outside and
inside the container.

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
Append instead of replace file contents

I think the `DOCKER_OPTS` should be appended to `/etc/default/docker` and not replace the entire contents.
Merge pull request #8008 from dwgebler/master

fixes incorrect environment variable labeling in container linking guide
HTTP Status 201 not 200

The http status should be 201 not 200.

Docker-DCO-1.1-Signed-off-by: Erik Kristensen <erik@erikkristensen.com> (github: SvenDowideit)
Merge pull request #8028 from SvenDowideit/ekristen-patch-1

HTTP Status 201 not 200
Merge pull request #8010 from LK4D4/fix_ps_s_hang_#7999

Fix ps -s hang
The default name of the bridge created is called 'docker0'.
docs: shrink images

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
docs: change kernel version requirement

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)