Docker is an open-source engine that automates the deployment of any application as a lightweight, portable, self-sufficient container that will run virtually anywhere.
Security Fix(es):
This issue was discovered by Mrunal Patel (Red Hat).
Bug Fix(es):
The process of pulling an image spawns a new “goroutine” for each layer in the image manifest. If any of these downloads, everything stops and an error is returned, even though other goroutines would still be running and writing output through a progress reader which is attached to an http response writer. Since the request handler had already returned from the first error, the http server panics when one of these download goroutines makes a write to the response writer buffer. This bug has been fixed, and docker no longer panics when pulling an image. (BZ#1264562)
Previously, in certain situations, a container rootfs remained busy during container removal. This typically happened if a container mount point leaked into another mount namespace. As a consequence, container removal failed. To fix this bug, a new docker daemon option “dm.use_deferred_deletion” has been provided. If set to true, this option will defer the container rootfs deletion. The user will see success on container removal but the actual thin device backing the rootfs will be deleted later when it is not busy anymore. (BZ#1190492)
Previously, the Docker unit file had the “Restart” option set to “on-failure”. Consequently, the docker daemon was forced to restart even in cases where it couldn’t be started because of configuration or other issues and this situation forced unnecessary restarts of the docker-storage-setup service in a loop. This also caused real error messages to be lost due to so many restarts. To fix this bug, “Restart=on-failure” has been replaced with “Restart=on-abnormal” in the docker unit file. As a result, the docker daemon will not automatically restart if it fails with an unclean exit code. (BZ#1319783)
Previously, the request body was incorrectly read twice by the docker daemon and consequently, an EOF error was returned. To fix this bug, the code which incorrectly read the request body the first time has been removed. As a result, the EOF error is no longer returned and the body is correctly read when really needed. (BZ#1329743)
Enhancement(s):
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
RedHat | 7 | src | docker | < 1.9.1-40.el7 | docker-1.9.1-40.el7.src.rpm |
RedHat | 7 | x86_64 | docker-common | < 1.9.1-40.el7 | docker-common-1.9.1-40.el7.x86_64.rpm |
RedHat | 7 | x86_64 | docker-forward-journald | < 1.9.1-40.el7 | docker-forward-journald-1.9.1-40.el7.x86_64.rpm |
RedHat | 7 | x86_64 | docker | < 1.9.1-40.el7 | docker-1.9.1-40.el7.x86_64.rpm |
RedHat | 7 | x86_64 | docker-selinux | < 1.9.1-40.el7 | docker-selinux-1.9.1-40.el7.x86_64.rpm |
RedHat | 7 | x86_64 | docker-logrotate | < 1.9.1-40.el7 | docker-logrotate-1.9.1-40.el7.x86_64.rpm |