How do I contain apache forward proxy in docker

I know how to configure that on ubuntu but not using Docker container as I am new to Docker. Do I need to use dockerfile or other easier methods and how? I guess pulling apache docker image as its base image on: Do I need The forward proxy be accessible on port 8080 from a web browser on the host OS Ubuntu? What about the port the forward proxy runs on inside the container? Your help is much appreciated.