You created a new service named 'http' and discover it is not registering as healthy. Will this command enable you to view the list of historical tasks for this service?
Solution: 'docker ps http'
20 comments · newest first
FR
Francoise
10 months ago
Wait, are you sure? I thought it might work!
LU
Luther
11 months ago
Yeah, I agree, it won't show historical data.
PA
Patria
11 months ago
I thought 'docker ps' only shows running containers?
JE
Jesusita
11 months ago
Definitely a "No" on that one!
MA
Malissa
11 months ago
That's not the right command for historical tasks.
CA
Candida
12 months ago
This seems similar to a practice question I did, and I believe the answer is 'No' because 'docker ps' doesn't show historical tasks.
AR
Arthur
12 months ago
I might be mistaken, but I thought 'docker ps' only lists active containers, not the historical ones.
FR
Freeman
12 months ago
I remember practicing a question about checking service health, and I don't think 'docker ps' is the right command for that.
MA
Margurite
1 year ago
I think 'docker ps' shows running containers, but I'm not sure if it includes historical tasks for a service.
RA
Rasheeda
1 year ago
I'm pretty confident this is a "No" answer. The "docker ps" command is for listing running containers, not historical tasks for a specific service. To view that kind of historical information, I'd need to use a different Docker command.
MA
Maurine
1 year ago
Okay, I think I've got this. The "docker ps" command is used to list running containers, but it won't show me the historical tasks for a specific service. I'll need to look into other Docker commands that can provide that kind of historical information.
KE
Kent
1 year ago
I'm not sure about this one. The question mentions a "service named 'http'" but the solution talks about "docker ps http". I'm a bit confused on how those relate.
VE
Vernice
1 year ago
Hmm, I think the key here is that the question is asking about historical tasks for the service, not just the current status. The "docker ps" command might show me the current running containers, but I'm not sure if that would include historical tasks.
YE
Yen
1 year ago
I remember learning about the deployment server in class, and I think it can push apps to both universal forwarders and Splunk Cloud. I'll go with A and B just to be safe.
SK
Skye
2 years ago
So, it's B) No, right?
AR
Arlette
2 years ago
Yeah, it doesn't seem like the right command for viewing historical tasks.
JE
Jerry
2 years ago
I don't think so. 'docker ps' lists running containers.
AR
Arletta
2 years ago
Do you think 'docker ps http' shows historical tasks?
SK
Skye
2 years ago
I agree, it's a little confusing.
JE
Jerry
2 years ago
The question seems tricky.