I pulled my own docker image from docker hub. It contains apache2 and some files. I wrote steps to run apache2 in forground and exposed port no 80. But while running the image, i am not able to see my apache2 home page.
I used the following manifest..
include 'docker'
docker::image { 'myimage':
}
docker::run { 'accessfiles':
image => 'myimage',
ports => ['80','80'],
expose => ['80','80'],
}