Start container interactively, forwarding port 80 to localhost 8080 $ docker run -p 8080:80 -v /Users/kingbob/Sites:/var/www/html -it --name php5-6 php:5.6.30-apache bash Start Apache2 $ service apache2 start Start container interactively $ docker start -i php5-6