Which command must be configured in a Dockerfile to accomplish this goal?

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}

Answer: B

Latest ACP-100 Dumps Valid Version with 72 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments