sudo docker.io run -d -P --name a-ubuntu-apache2-php55 \
-p 80:80 \
-v /www/html:/App/html \
-v /apache2/sites:/App/apache2.conf \
-v /apache2/log:/App/apache2.log \
abilashgt/ubuntu-apache2-php55
docker exec -it a-apache2php55 bash
/App/html - for storing website files
/App/apache2.config - for storing apache site configurations
/App/apache2.log - for storing apache log files
sudo docker.io run -i -t --name d-apache2php55 \
-p 80:80 \
-v /www/html:/App/html \
-v /apache2/sites:/App/apache2.conf \
-v /apache2/log:/App/apache2.log \
abilashgt/ubuntu-apache2-php55-img /bin/bash
Content type
Image
Digest
sha256:2fd976c3a…
Size
164.5 MB
Last updated
almost 11 years ago
docker pull abilashgt/ubuntu-apache2-php55