good to all, I have some web pages mounted in apache in ubuntu server, but I want to move those pages to another ubuntu server with apache but this time in docker but I can’t think how, can anyone help me?
You must have look at the httpd image on Dockerhub during your research. May I ask what you feel is missing in the Dockerhub description?
The description covers two use cases:
-
Section “Create a
Dockerfile
in your project” illustrates how to create your own image where the pages are backed into image. -
Section “Without a
Dockerfile
” illustrates how to map a local folder that contains the pages into the correct container path, so the containerized apache server can serve the pages.