Sign inSign up

joramk/ubi8-httpd-php

By joramk

Updated about 3 years ago

Red Hat Universal Base Image with Apache HTTPD and current PHP-FPM releases

Image
0

1.4K

joramk/ubi8-httpd-php repository overview

Apache with php-fpm

Red Hat Universal Base Image 8 (named ubi) with Apache HTTPD webserver and PHP-FPM from Remi repository. The standard images are designed for any application that runs on RHEL.

The UBI base image key features

Full systemd init system

All the features of the systemd initialization system you need to manage systemd services are available in the standard base images. These init systems let you install RPM packages that are pre-configured to start up services automatically, such as a Web server (httpd) or FTP server (vsftpd).

Package manager DNF included

You have access to free dnf repositories for adding and updating software. You can use the standard set of dnf commands (dnf, dnf-config-manager, dnfdownloader, and so on).

General purpose utilities

Utilities include tar, dmidecode, gzip, getfacl and further acl commands, dmsetup and further device mapper commands, between other utilities not mentioned here.

Tags

PHP 7.4: 7.4

PHP 8.0: 8.0

PHP 8.1: 8.1 latest

PHP 8.2-dev: 8.2

Starting the docker container

docker run -p 80:80 -d --tmpfs /tmp --tmpfs /run -v /sys/fs/cgroup:/sys/fs/cgroup:ro joramk/ubi-httpd-php -v /var/www/html:/var/www/html

A default website is served from /var/www/html location on port 80. Additional Apache configuration can be mounted to /etc/httpd/conf.d. The standard configuration can be replaced at /etc/httpd/conf/httpd.conf.

Running with SELinux enabled

Optional. If you want to run containers with systemd and SELinux is enabled on your system, you must set the container_manage_cgroup boolean variable:

setsebool -P container_manage_cgroup 1

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

https://www.redhat.com/licenses/EULA_Red_Hat_Universal_Base_Image_English_20190422.pdf

Tag summary

Content type

Image

Digest

sha256:473575ad7

Size

129.5 MB

Last updated

over 3 years ago

docker pull joramk/ubi8-httpd-php