Apache2 y PHP v8.1. Drivers database: mysql, postgres, sqlsrv
157
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
Content type
Image
Digest
sha256:c57d90434…
Size
99.2 MB
Last updated
over 1 year ago
docker pull ups923/ubuntu-apache2:php7.2