Create an image for apache2

Hi,
I tried to create an image for apache2 but I did everything well but the last line of my dockerfile doesn’t work. I used this instruction to start my apache2 server : CMD [“start”, “apache2”]
Someone can help me please to find the right command ?

Hi @Lamine

Can you please share the link to the lab you are referring to?
The CMD instruction for apache2 should be like CMD ["apachectl", "-D", "FOREGROUND"]

It would help if you could share the Dockerfile you created in code blocks using the </> formatting button.

Thank you so much @Santosh_KodeKloud