Summer Special Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: vce65

Given the following excerpt of a Dockerfile:Run apt-get –y update && apt-get install –y fortunes...

Given the following excerpt of a Dockerfile:

Run apt-get –y update && apt-get install –y fortunes && apt-get clean

Why are the multiple apt-get commands combined in one RUN statement instead of using multiple RUN statements?

A.

To prevent the commands from running in parallel because Docker executes all RUN statements in their own container at the same time.

B.

To ensure the execution order of the commands because Docker might evaluate the statements of a Dockerfile in any order.

C.

To avoid the creation of unnecessary images because Docker creates a new image for each RUN statement.

D.

To execute both commands in the same container instance and void Docker to reset the container to the original base image.

E.

To execute the apt-get install command only if the apt-get update command was successful because Docker does not check the success of RUN statements.

LPI 701-100 Summary

  • Vendor: LPI
  • Product: 701-100
  • Update on: Jul 26, 2025
  • Questions: 60
Price: $52.5  $149.99
Buy Now 701-100 PDF + Testing Engine Pack

Payments We Accept

Your purchase with ExamsVCE is safe and fast. Your products will be available for immediate download after your payment has been received.
The ExamsVCE website is protected by 256-bit SSL from McAfee, the leader in online security.

examsvce payment method