Solved

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

Question 17

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

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions