Solved

A DevOps Engineer Has Built a Container to Host a Web-Server

Question 1

Multiple Choice

A DevOps engineer has built a container to host a web-server and it must run as an executable. Which command must be configured in a Dockerfile to accomplish this goal?


A) ENTRYPOINT <usr/sbin/apache2ctl>
B) ENTRYPOINT ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]
C) ENTRYPOINT ["BACKGROUND", "-D", "/usr/sbin/apache2ctl"]
D) ENTRYPOINT {usr/sbin/apache2ctl}

Correct Answer:

verifed

Verified

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents