The docker images defined in this repository serve as a starting point for October CMS projects.
Based on official docker PHP images, images include dependencies required by October, Composer and install the latest release.
build.396-php7.1-apache
,php7.1-apache
,build.396
,latest
: php7.1/apache/Dockerfilebuild.396-php7.1-fpm
,php7.1-fpm
: php7.1/fpm/Dockerfilebuild.396-php7.0-apache
,php7.0-apache
: php7.0/apache/Dockerfilebuild.396-php7.0-fpm
,php7.0-fpm
: php7.0/fpm/Dockerfilebuild.396-php5.6-apache
,php5.6-apache
: php5.6/apache/Dockerfilebuild.396-php5.6-fpm
,php5.6-fpm
: php5.6/fpm/Dockerfile
build.406-php7.1-apache
,edge-php7.1-apache
,build.406
,edge
: php7.1/apache/Dockerfile.edgebuild.406-php7.1-fpm
,edge-php7.1-fpm
: php7.1/fpm/Dockerfile.edgebuild.406-php7.0-apache
,edge-php7.0-apache
: php7.0/apache/Dockerfile.edgebuild.406-php7.0-fpm
,edge-php7.0-fpm
: php7.0/fpm/Dockerfile.edgebuild.406-php5.6-apache
,edge-php5.6-apache
: php5.6/apache/Dockerfile.edgebuild.406-php5.6-fpm
,edge-php5.6-fpm
: php5.6/fpm/Dockerfile.edge
To run October CMS using Docker, start a container using the latest image, mapping your local port 80 to the container's port 80:
$ docker run -p80:80 aspendigital/octobercms:latest
Run the container in detached mode using the container name october
and launch an interactive shell (bash) for the container.
$ docker run -p80:80 -d --name october aspendigital/octobercms:latest
$ docker exec -it october bash