Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
Self-host PrestaShop
updated Nov 2026deployed by usprices checked · Jul 2026Install verified on Ubuntu 26.04 · Nov 2026 · how we test
We earn commissions when you shop through the links below. Full disclosure →
A free, open-source e-commerce platform written in PHP: a customisable storefront with catalogue, cart and checkout, a back office for products, orders and customers, support for the major payment services, and translations and country localisation for many markets. The Docker Hub image can run the installer automatically against a MySQL-compatible database.
Pick PrestaShop when you want a conventional, feature-rich online store you run yourself, with a customisable storefront, a back office for catalogue, orders and customers, and the major payment services, translated and localised for many countries. The core is OSL-3.0 and its modules are AFL-3.0. Our snippet is the official Docker Hub image pinned to 9.0.3 with its automatic installer switched on (`PS_INSTALL_AUTO`) against MariaDB, with the shop domain set to your server's public IP (looked up with ifconfig.me; put your domain there instead). We did not find an upstream RAM minimum: PrestaShop's requirements page recommends a PHP `memory_limit` of at least 512M and says the more RAM the better, so our 1024 MB floor is an estimate. Bagisto is the Laravel alternative, and Medusa and Saleor are the headless ones where you build the storefront yourself.
What you need
Any VPS with at least 1024 MB of RAM
A domain you control — most self-hosted setups need HTTPS in front of them
The Docker Hub page and PrestaShop's requirements flag these before you open a shop:
non-negotiablePS_DOMAIN is stored when the installer runs and PrestaShop later redirects to it. The image's default is the container's own IP address, which breaks browsing from outside, so our snippet sets it to the server's public IP and port 8080 (looked up with ifconfig.me); put the host and port customers use there before the first start. Changing the address afterwards means editing the shop's domain settings or using the image's PS_HANDLE_DYNAMIC_DOMAIN.
non-negotiableThe automatic install creates the admin account from ADMIN_MAIL and ADMIN_PASSWD; the image's defaults are demo@prestashop.com and prestashop_demo, so we generate a password into .env. The installer takes a few minutes, and the image removes the install folder when it finishes. The back office lives in a folder the installer renames to admin plus a random suffix; our last step prints it. We do not set the image's PS_FOLDER_ADMIN option: with it set, the 9.0.3 and 9.2.0 automatic installs failed on our test VM (the installer could not find admin-dev while installing assets), as upstream issue PrestaShop/docker#465 also reports and the container restarted half-installed.
non-negotiablePort 8080 serves plain HTTP and PS_ENABLE_SSL is off. Put a TLS reverse proxy in front before taking payments, and then enable SSL in the shop settings.
non-negotiableThe shop's files (modules, themes, uploaded images and the generated app/config/parameters.php) live in the ps_data volume and its data in db_data, so back both up. The image skips the install when parameters.php exists. We pin 9.0.3 (released 2026-02-03) rather than the floating latest tag, which currently points to 9.2.0 even though the Docker Hub page still lists it under PrestaShop 8.
PrestaShop used 294 MB of RAM at idle on GCP e2-standard-2 · Ubuntu 26.04 LTS · Docker 29.9.3 (first boot, measured Nov 2026). We list a minimum of 1024 MB.
Is the PrestaShop install snippet verified?
The PrestaShop install snippet is marked verified on Ubuntu 26.04 (Nov 2026).