Adds check if default ip address is correct format.

It avoids hidden error when ports are redirected from
container to host using -p host_port:guest_port.

Docker-DCO-1.1-Signed-off-by: Jiří Župka <jzupka@redhat.com> (github: jzupka)
Merge pull request #6729 from vincentbernat/fix/mkimage-use-var-tmp

Update mkimage scripts to use /var/tmp by default instead of /tmp
Document memory limit sizing in manpages

The -m flag permits the setting of a memory limit when running a Docker
container. The actual limit set must be a multiple of page size on Linux, so
whatever number the uses passes in will be rounded up if needed. Document this
behavior to prevent confusion. Also fixed several small formatting and grammar
issues in the docker run manpage.

Docker-DCO-1.1-Signed-off-by: Matthew Heon <mheon@redhat.com> (github: mheon)
Update dockerimages.md

fix typo
Merge pull request #6701 from crosbymichael/mount-root

Allow / as source of -v
correct typo - desination -> destination

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
integcli: add test to ensure -v /:/ isn't allowed

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

Port allocation status is stored in a global map: a port detected in use will remain as such for the lifetime of the daemon. Change the behavior to only mark as allocated ports which are claimed by Docker itself (which we can trust to properly remove from the allocation map once released). Ports allocated by other applications will always be retried to account for the eventually of the port having been released.

Docker-DCO-1.1-Signed-off-by: Arnaud Porterie <icecrime@gmail.com> (github: icecrime)
Make ErrPortAlreadyAllocated an error interface with a few extras,
adjust tests to fit.

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
Use last allocated port logic in port allocator

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
Merge pull request #6234 from jzupka/fix_check_default_ip

Adds check if default ip address is correct format.
Merge pull request #6735 from unclejack/add_test_pr-6701

Add test for PR 6701
Integration cli tests on Links in inspect

Docker-DCO-1.1-Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com> (github: LK4D4)
Changed add to group command to include -a (append) flag, for safety. In response to customer email.

Docker-DCO-1.1-Signed-off-by: Fred Lifton <fred.lifton@docker.com> (github: fredlf)
Merge pull request #6721 from LK4D4/integration_test_on_links

Integration cli tests on Links in inspect
Merge pull request #6232 from LK4D4/wait_functions_for_state

Wait functions for state
allow overwrite in untar

Docker-DCO-1.1-Signed-off-by: Tibor Vass <teabee89@gmail.com> (github: tiborvass)
Merge pull request #6740 from tiborvass/untar_allow_overwrite

Allow overwrite in archive.Untar
Merge pull request #6678 from mheon/fix_man_generate

Path fixes in md2man script and README
Merge pull request #6731 from mchelen/patch-2

Update dockerimages.md