Guide · Open source
How to use Bagisto: install with Docker and run your store
Updated · written with AI from the project's own documentation and checked against our catalogue data
Bagisto is open-source software for running an online store or a marketplace where many sellers list products. It is built with Laravel and Vue.js, and the README describes it as a foundation you can customize for single-vendor, B2B, or multi-vendor commerce. This guide shows how to start a Bagisto store with Docker and where to go next for customization.
Quick start
- 1Check Docker is installed. Bagisto's only listed prerequisite is Docker. Confirm it runs on your machine before continuing.
- 2Pick your image. Choose a web server and database combination from the README table, such as nginx with MySQL or PostgreSQL.
- 3Start the container. Run the single command docker run -d --name bagisto -p 80:80 webkul/bagisto:latest, or the tag you picked.
- 4Open the store in your browser. Visit the server on port 80. The README says the store comes fully installed with no first-run setup.
- 5Pin a version for production. Replace latest with a specific release tag so your store does not change when new images are published.
- 6Read the docs before customizing. Use the official documentation and the repository's docker/production/README.md for details on configuration.
What Bagisto is and who it suits
Bagisto is aimed at developers and businesses that want to host and extend their own shop instead of using a hosted service. Agencies building B2B commerce sites and teams planning a multi-vendor marketplace are the typical audience.
It is not a point-and-click hosted store. Setup and customization require PHP and server knowledge.
- Good fit: developers building a custom store on Laravel, businesses that want to self-host and own their data, teams planning a multi-vendor marketplace, agencies building B2B sites.
- Poor fit: non-technical store owners who want a hosted shop, and small one-page sites that only need a simple product listing.
Run Bagisto with Docker
The README lists Docker as the install method and the only prerequisite. A single command starts a fully installed store, since migrations, seed data and search indexes are included in the image, so there is no first-run setup.
Once the container is running, the store is served on port 80 of your machine.
- Prerequisite: Docker.
docker run -d --name bagisto -p 80:80 webkul/bagisto:latestChoose a web server and database image
Images are published for each web server and each database, so you can match what you already run. The tags below come from the README table.
To pin a release, swap latest for the version, for example webkul/bagisto:2.5.0-nginx-postgres. Setting DB_HOST to an external server skips the bundled database entirely. Full details are in docker/production/README.md in the repository.
- Nginx: :latest (MySQL 8.0), :latest-nginx-mariadb (MariaDB 10.11), :latest-nginx-postgres (PostgreSQL 16).
- Apache: :latest-apache, :latest-apache-mariadb, :latest-apache-postgres.
- OpenLiteSpeed: :latest-litespeed, :latest-litespeed-mariadb, :latest-litespeed-postgres.
Other ways to deploy
The README also mentions Bagisto Cloud Hosting, a managed hosting option from the Bagisto team, and a pre-configured Amazon Machine Image (AMI) on the AWS Marketplace. The AMI is described as a way to start on a cloud environment without manual setup.
For a non-Docker install, the README points to the installation guide in the official documentation, with or without Composer. Check the requirement details on the download page before you start.
Build your store on the Laravel foundation
Bagisto is built with Laravel and Vue.js and is described as a flexible foundation. Single-vendor stores, B2B commerce and multi-vendor marketplaces are the setups the README names.
The README also points to a Getting Started video tutorial and a Live Demo you can browse before you commit to a setup.
- Read the developer documentation at devdocs.bagisto.com.
- Browse the free live demo at demo.bagisto.com to see the storefront.
- Ask questions in the community forums at forums.bagisto.com.
What people use it for
- Launch a single-vendor online store that you host yourself.
- Build a multi-vendor marketplace where many sellers list products.
- Create a B2B commerce site for a client, as the README describes B2B support.
- Test a storefront on the free live demo before installing your own copy.
Frequently asked questions
Is Bagisto free?
Bagisto is released under the MIT licence, as listed on its repository page. You can use, host and modify it under those terms. Check the licence file in the repository for the full text.
What do I need to run Bagisto?
For the Docker method, the README lists Docker as the prerequisite. A single docker run command starts a complete store with its database and web server included. For a manual install, check the requirement details on the official download page.
Do I need to know PHP to use Bagisto?
Yes, for setup and customization. The project is built with Laravel and Vue.js, and it is not a point-and-click hosted shop. Non-technical owners who want a hosted store may prefer a managed service.
Which database does Bagisto use?
The Docker images are published with MySQL 8.0, MariaDB 10.11 and PostgreSQL 16. You can also set DB_HOST to an external server to skip the bundled database.
Can I run Bagisto as a multi-vendor marketplace?
The README describes Bagisto as a foundation for single-vendor, B2B and multi-vendor commerce. It is aimed at teams planning a marketplace, so plan the seller setup as part of your build.
How does Bagisto compare to WooCommerce or Sylius?
Bagisto is a Laravel-based platform you host and extend yourself. WooCommerce is a WordPress plugin, and Sylius, Medusa and Saleor are other self-hosted commerce projects. Compare them on your stack, your team's skills and the features you need.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
Bagisto suits developers, agencies and businesses that want to self-host a Laravel-based store or multi-vendor marketplace and own their data. If you need a hosted, point-and-click shop or only a simple product listing, pick a simpler or managed alternative instead.
Install options & downloads