Will this sequence of steps completely delete an image from disk in the Docker Trusted Registry?
Solution: Delete the image and run garbage collection on the Docker Trusted Registry.
31 comments · newest first
LU
Lucia
12 months ago
Definitely, it should work as intended!
JE
Jesusa
1 year ago
Wait, does garbage collection really delete everything?
MO
Mona
1 year ago
Garbage collection is key for cleanup.
NO
Noelia
1 year ago
I think it might not be enough.
LA
Lajuana
1 year ago
Yes, that's how it works!
TA
Tayna
1 year ago
I’m leaning towards "No" because I think there might be some lingering references even after garbage collection.
ZA
Zack
1 year ago
I feel like I've seen something about needing to remove all tags before the image is fully deleted. Is that right?
GR
Gracie
1 year ago
I remember a practice question where we had to consider if the image was tagged or not. That might affect whether it gets deleted completely.
ME
Meghann
1 year ago
I think deleting the image and running garbage collection should work, but I'm not entirely sure if there are other steps involved.
BI
Billy
1 year ago
Okay, I've got a good handle on this. Delete the image, then run the garbage collection to fully remove it from the registry. Shouldn't be too tricky.
JA
Janna
1 year ago
Yeah, this seems like a simple solution. As long as you delete the image and run the garbage collection, it should completely remove it from the registry.
TA
Tanja
1 year ago
Hmm, I'm not totally sure about this one. I'll need to double-check the steps to make sure I'm doing it correctly.
NI
Nicolette
1 year ago
I think this one is pretty straightforward. Deleting the image and running garbage collection should do the trick.
RO
Royce
1 year ago
I'm a little confused on the garbage collection part. Does that happen automatically, or do I need to run a specific command for that?
AN
Annelle
1 year ago
I'm a bit confused on the difference between single-segment and double-segment protection. I'll need to review those concepts before I can confidently answer this.
LO
Lorean
1 year ago
The Azure Policy definition seems like a good option to consider as well. I'll need to research the specific policy settings that would achieve the desired behavior for this scenario.
RI
Ricki
1 year ago
Okay, let me walk through this step-by-step. First, you select the event that triggers the rule. Then you set the conditions that need to be met. After that, you define any exceptions. And finally, you choose the actions to be taken. I'm pretty sure that's the right order.
CL
Claudio
2 years ago
Haha, yeah, you gotta take out the trash if you want a clean registry. Can't just leave those old images lying around!
LI
Lili
2 years ago
Haha, yeah, you gotta take out the trash if you want a clean registry. Can't just leave those old images lying around!
CA
Carissa
2 years ago
B) No
MO
Monroe
2 years ago
A) Yes
EM
Emmett
2 years ago
That makes sense. If we delete the image and then run garbage collection, it should remove all traces of it. I agree with option A) Yes.
IV
Ivory
2 years ago
Hmm, interesting. I wonder if there's a way to automate that garbage collection process. Would save some time, you know?
RE
Rebeca
2 years ago
User 2: I'm not sure, but that would definitely be helpful if we could automate it.
TR
Tracey
2 years ago
User 1: Yes
HE
Heike
2 years ago
User 2: I'm not sure, but that would be really helpful if we could automate it.
NA
Nana
2 years ago
User 1: Yes
GE
Geraldine
2 years ago
Ah, I see. Gotta run the garbage collection to really clean things up. Sounds like the right approach.
MA
Margo
2 years ago
I'm not too sure about this one. Deleting the image alone doesn't seem like it would completely remove it from the registry.
AN
Anastacia
2 years ago
I'm not sure, but I think it should work. Maybe option A) Yes is the correct answer.
EM
Emmett
2 years ago
Do you think deleting the image and running garbage collection will completely delete it from the Docker Trusted Registry?