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>
Try to avoid issues when the Docker daemon restarts.

This change will allow the Docker daemon's init script to wait up to 5
minutes before being forcibly terminated by the initscript. Many
non-trivial containers will take more than the default 3 seconds to
stop, which can result in containers whose rootfs is still mounted and
will not restart when the daemon starts up again, or worse, orphan
processes that are still running.

Signed-off-by: Steven Merrill <steven.merrill@gmail.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>
Fix container wait error message to match server template for returning 404
Addresses #8107

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
Doc update to clarify random port mapping on docker run -P

Signed-off-by: Dan Cotora <d@bluevision.ro>
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)