Docker images with PrestaShop pre-installed and MySQL included
MIT License
This repository provides additional Docker images for a quick deployment of PrestaShop.
⚠️ They are not designed for running an e-commerce activity in production.
These Docker files are based on the images prestashop/prestashop. With the Apache + PHP server already present, a MySQL server is installed and configured for a small environment (only one user per running website) to avoid too much memory consumption.
Each tag of this images has the following content:
demo<iso_code>@prestashop.com
)For each PrestaShop major version, we chose the best compromise between reliability and speed of PHP.
Images are being stored by default on Docker hub. They can be downloaded with:
docker pull prestashop/docker-internal-images[:tag]
Possible values for the tag are: 1.5
, 1.6
, 1.7
, nightly
. Not providing this parameter will fallback on PrestaShop 1.7.
To run this images flawlessly on your environment, we advice you to find an available port on the host, then bind it to the container and the domain parameter.
This example runs a pre-installed PrestaShop 1.7 on the port 8003 of the local machine:
docker run -ti -p 8003:80 -e PS_DOMAIN=localhost:8003 prestashop/docker-internal-images:1.7
Changes can be suggested on https://github.com/PrestaShop/docker-internal-images.
During the development, you may try to build new local images by running the following commands:
docker build -t prestashop/docker-internal-images:1.7 1.7
docker build -t prestashop/docker-internal-images:1.6 1.6
docker build -t prestashop/docker-internal-images:1.5 1.5
docker build -t prestashop/docker-internal-images:nightly nightly
Then follow the step "Running this image" to create a container from these new tags.
Make sure each subfolder got the same improvement or only one tag will be updated.