Conversation
Codecov Report
@@ Coverage Diff @@
## master #553 +/- ##
==========================================
- Coverage 49.38% 49.23% -0.15%
==========================================
Files 208 200 -8
Lines 17178 16455 -723
==========================================
- Hits 8483 8102 -381
+ Misses 8262 7933 -329
+ Partials 433 420 -13 |
|
Why is this controlled in the client library? |
|
@cpuguy83 The issue is discussed here: moby/moby#13588. Mostly because, piping to So, having a quiet flag is cleaner. |
|
I think the bigger question (which I assume @cpuguy83 was getting at) is why is this even handled in the API? It could be an entirely client-side concern (ignore the bytes sent by pull and only print the relevant errors and final id). Unfortunately this seems to be the way that |
|
Maybe. My thoughts were that it would help even when you're making an API call directly to the daemon by skipping the client. |
|
@dnephin exactly Shouldn't error information go to stderr? |
|
@thaJeztah And yes, I do agree it's a lot of changes for a small feature. But, I'm not sure whether that's a bad thing. 😄 EDIT: |
|
I think implementing it entirely in the client is a good place to start. In the future if we wanted to add it to the API that would still be possible, but I think it's unlikely. |
|
I think a CLI only implementation would work well here. |
|
I need some advice implementing this. I'll have to change the Is it possible to send |
|
I would suggest not using |
Signed-off-by: Pramodh KP <prmdh1@gmail.com>
|
ping @pramodhkp were you still working on this? |
|
@thaJeztah I have implemented half of it. But I've been a bit busy. I will create a new PR when I'm done, if this needs to be closed. |
|
@pramodhkp carrying in #882 😉 |
Carry #553 : Add option to pull images quietly
- What I did
Added an option for quiet docker pulls
docker pull -q. Based on the discussion here: moby/moby#13588- How I did it
- How to verify it
docker pull -q alpine- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)