Sign inSign up

ups923/ubuntu-apache2

By ups923

Updated over 1 year ago

Apache2 y PHP v8.1. Drivers database: mysql, postgres, sqlsrv

Image
0

157

ups923/ubuntu-apache2 repository overview

How to use this image

Pull image

$ sudo docker pull ups923/ubuntu-apache2:php8.1

Run image

$ sudo docker run -d -p 8000:80/tcp --name apache2-php8.1 ups923/ubuntu-apache2:php8.1

Access

Open browser and go to http://IP_SERV:8000/ 

You can build a volume -v if you want to define a different location for the files. Default is /var/www/html

$ sudo docker run -d -p 8000:80/tcp --name apache2-php8.1 -v /home/data:/var/www/html ups923/ubuntu-apache2:php8.1

Access container

$ sudo docker exec -ti apache2-php8.1 bash

Tag summary

Content type

Image

Digest

sha256:c57d90434

Size

99.2 MB

Last updated

over 1 year ago

docker pull ups923/ubuntu-apache2:php7.2