Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CloudBees Exam CJE Topic 1 Question 79 Discussion

Actual exam question for CloudBees's CJE exam
Question #: 79
Topic #: 1
[All CJE Questions]

How would you invoke a Docker agent?

Show Suggested Answer Hide Answer
Suggested Answer: C

Docker-based agents can be invoked this way. You'd get the latest 'openjdk' docker image with this syntax.


Contribute your Thoughts:

Trinidad
7 months ago
I'm not sure, but I would go with C) as well because it seems like the most logical option
upvoted 0 times
...
Harley
7 months ago
I agree with Chandra, it makes sense to specify the Docker image in the agent block
upvoted 0 times
...
Chandra
7 months ago
I disagree, I believe the answer is C) agent { docker 'openjdk'} because we want to specify the Docker image
upvoted 0 times
...
Dannette
7 months ago
I think the answer is A) agent { label 'docker'}
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77