CentOS Apache and PHP Base Image Systemd Enabled READY TO USE IMAGE
175
docker run -d --rm --privileged -p 80:8080 --name apache tayyabtalha/apache
.....
image: tayyabtalha/apache
privileged: true # Should be true if you want to use systemd
ports:
- "8080:80"
depends_on:
- db
.....
yum --enablerepo=remi,remi-php72 install [package name]
yum --enablerepo=remi,remi-php72 install php-gmp
bash use following command
docker exec -ti apache bash -c "stty cols $COLUMNS rows $LINES && bash"Content type
Image
Digest
Size
175.7 MB
Last updated
over 8 years ago
docker pull tayyabtalha/apache