pkg/mount: include optional field

one linux, the optional field designates the sharedsubtree information,
if any.

Signed-off-by: Vincent Batts <vbatts@redhat.com>
fixed the way of iterating over the range of map.

Fixed the following errors:
1. Request(0) causes a dead loop when the map is full and map.last == BEGIN.
2. When map.last is the only available port (or ip), Request(0) returns ErrAllPortsAllocated (or ErrNoAvailableIPs). Exception is when map.last == BEGIN.

Signed-off-by: shuai-z <zs.broccoli@gmail.com>
makes the -s --size option documentation clearer #8950

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Merge pull request #8699 from shuai-z/fix-portalloc

Fix corner cases in ipallocator and portallocator
Remove obsolete comments
In the below comment line, already codes for log exists so
following comment is obsolete.
// TODO log

Signed-off-by: Daehyeok Mun <daehyeok@gmail.com>
Fix the documentation and integration test for container resize
Closes #8728

Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
Merge pull request #9197 from somaopensource/remove_obsolete_comment

Remove obsolete comments
Update libcontainer to 28cb5f9dfd6f3352c610a4f1502

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
pkg/mount: testing mountinfo fields

Signed-off-by: Vincent Batts <vbatts@redhat.com>
Add test for bug (9056) where rmi -f fails with "no such id".

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Merge pull request #9205 from crosbymichael/update-libcontainer-nov17

Update libcontainer to 28cb5f9dfd6f3352c610a4f1502
Merge pull request #8993 from SvenDowideit/make-ps-size-docs-clearer

makes the -s --size option documentation clearer #8950
Fix for rmi -f when error "no such id". (9056)

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Merge pull request #8749 from brahmaroutu/resize_uponstart_8728_2

Fix the documentation and integration test for container resize
Merge pull request #9204 from jfrazelle/9056-rmi

Fix for rmi throws error "no such id".
Merge pull request #8937 from vbatts/vbatts-mount_optional_fields

pkg/mount: include optional field
Speed up build when using cache

Builder now calls Daemon.Graph().Map() once, instead of once per step.

Signed-off-by: Mathieu Larose <mathieu@mathieularose.com>