Page 1 of 1

A DevOps engineer has built a container to host a web-server and it must run as an executable. Which command must be con

Posted: Fri Jul 22, 2022 7:01 pm
by answerhappygod
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}