I use a docker compose file to simplify the process of starting and configuring the container:
version: "3.8"
services:
httpd:
container_name: httpd
image: httpd:latest
volumes:
- /server/data/apache/home:/usr/local/apache2/htdocs
restart: unless-stopped
The Apache HTTP server project is called httpd in Docker Hub. It contains defaults from upstream and there is no PHP installed.
The configuration for this container is standard. The directory that is mounted is for web files.