Centos7 image with SCL installed version of PHP56
383
Default configuration uses run-apache script to start apache and adds the foreground option to the Software Collections sysconfig file for apache. All content in the html directory is populated into the software collections home directory /opt/rh/httpd24/root/var/www/html.
To build an image tagged gizmonicus/centos7-scl-simple:
docker build --rm -t .
To run gizmonicus/centos7-scl-simple using local port 8080 forwarded to container port 80:
docker run -d -p 8080:80 gizmonicus/centos7-scl-simple
To see what docker containers are running:
docker ps
To open a shell into a currently running container (get container name from "docker ps"):
docker exec -it {CONTAINER_NAME} /bin/bash
To connect to a container using local port 8080 forwarded to container port 80:
(In browser) http://localhost:8080/
Content type
Image
Digest
Size
161.9 MB
Last updated
about 10 years ago
docker pull gizmonicus/centos7-scl-simple