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>
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)
Adding additional documentation for fixed-cidr networking

Docker-DCO-1.1-Signed-off-by: Frederick F. Kautz IV <fkautz@alumni.cmu.edu> (github: fkautz)

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
tarsum: allow for alternate block ciphers

Not breaking the default cipher and algorithm for calculating checksums,
but allow for using alternate block ciphers during the checksum
calculation.

Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
Automatically clean up hello-world container with --rm

Signed-off-by: Bruno Binet <bruno.binet@gmail.com>
Change unused WriteCloser to Writer

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
Close logs pipes and catch write errors

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
Check whether net.ParseIP returned nil or not

This is fix of #8102

Signed-off-by: Oh Jinkyun <tintypemolly@gmail.com>
Merge pull request #6101 from LK4D4/ip_range_#4986

Implement allocating IPs from CIDR within bridge network
Merge pull request #8121 from bbinet/cleanup-hello-world-container

Automatically clean up hello-world container with --rm
integcli: fix race in runCommandWithStdoutStderr

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
Merge pull request #8164 from unclejack/fix_utils_race

integcli: fix race in runCommandWithStdoutStderr
Merge pull request #8159 from LK4D4/fix_goroutine_leak_in_logs

Fix goroutine leak in logs following
pkg/jsonlog: avoid JSONLog allocation in loop

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
daemon/logs: lower allocations in loop

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

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
Merge pull request #8166 from unclejack/integcli_pull_scratch

integcli: pull scratch for pull test
Merge pull request #8109 from unclejack/avoid_jsonlog_alloc

daemon/logs: avoid JSONLog struct alloc in loop
Merge pull request #7942 from estesp/7747-stderr-stdout-bug

Fix gh#7747: filter bare newline output and log client pull to stdout