Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Conversation

@mlaventure
Copy link
Contributor

This prevent the daemon from consuming enormous amount of memory when a lot of containers are being started and stopped.


Cherry pick of moby/moby#33472

Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
(cherry picked from commit ba40f45)
The use of pools.Copy avoids io.Copy's internal buffer allocation.
This commit replaces io.Copy with pools.Copy to avoid the allocation of
buffers in io.Copy.

Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
(cherry picked from commit 014095e)
@unclejack
Copy link
Contributor

unclejack commented Jun 14, 2017

We can close this in favor of #76 because it makes the same changes and CI passes for that PR.

@mlaventure mlaventure closed this Jun 14, 2017
@mlaventure mlaventure deleted the chp-moby-33472 branch June 14, 2017 15:37
@mlaventure
Copy link
Contributor Author

Not sure why this one didn't pass, they were identical :)

@andrewhsu
Copy link
Contributor

It was actually my mistake that I opened up an identical PR...I didn't check for this PR beforehand, sorry about that.

Was trying to get this PR green before merging, but kept the other as backup for its green status. Seems like this PR was having issues with dockerhub responses from its test job:

00:13:27.767 [init] curl: (22) The requested URL returned error: 400 Bad Request
00:13:27.767 [init] The command '/bin/sh -c ./contrib/download-frozen-image-v2.sh /docker-frozen-images 	buildpack-deps:jessie@sha256:85b379ec16065e4fe4127eb1c5fb1bcc03c559bd36dbb2e22ff496de55925fa6 	busybox:latest@sha256:32f093055929dbc23dec4d03e09dfe971f5973a9ca5cf059cbfb644c206aa83f 	debian:jessie@sha256:72f784399fd2719b4cb4e16ef8e369a39dc67f53d978cd3e2e7bf4e502c7b793 	hello-world:latest@sha256:c5515758d4c5e1e838e9cd307f6c6a0d620b5e07e6f927b07d05f6d12a1ac8d7' returned a non-zero code: 22

In any case, the changeset has been merged in #76

andrewhsu pushed a commit that referenced this pull request Nov 29, 2017
Add new CLI option for --until
Upstream-commit: 026c6db6f6d00bc9445d6138964a326c63233842
Component: cli
docker-jenkins pushed a commit that referenced this pull request Dec 29, 2017
Move .PHONY targets above actual targets
Upstream-commit: 41ae603
Component: packaging
andrewhsu added a commit that referenced this pull request Apr 26, 2018
[18.03] vndr hcsshim to 79062a5
docker-jenkins pushed a commit that referenced this pull request Nov 6, 2018
…mismatch

[18.09 backport] remove version-checks for containerd and runc
Upstream-commit: f5749085e9cb0565afe342e73a67631f97547054
Component: engine
silvin-lubecki pushed a commit to silvin-lubecki/docker-ce that referenced this pull request Jan 30, 2020
Move .PHONY targets above actual targets
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants