PHPackages                             awesoft/magento-docker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. awesoft/magento-docker

AbandonedArchivedMagento2-component[DevOps &amp; Deployment](/categories/devops)

awesoft/magento-docker
======================

Magento 2 docker image

8.2.1(1y ago)016MITShellPHP ^8.2

Since Aug 29Pushed 1y agoCompare

[ Source](https://github.com/awesoft/magento-docker)[ Packagist](https://packagist.org/packages/awesoft/magento-docker)[ Fund](https://www.buymeacoffee.com/awesoft)[ RSS](/packages/awesoft-magento-docker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Magento2 Docker
===============

[](#magento2-docker)

A lightweight, open-source Docker container for Magento2, tailored for a standard setup.

[![Magento Version Support](https://camo.githubusercontent.com/2a8c529517026057223dfa1ff316c77c5758c085bde0239549668036eacb0556/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d322e342e582d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565)](https://camo.githubusercontent.com/2a8c529517026057223dfa1ff316c77c5758c085bde0239549668036eacb0556/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d322e342e582d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)

Disclaimer
----------

[](#disclaimer)

- This container provides a minimal setup using `alpine` Linux and the `sh` shell, rather than `bash`.
- It is designed for Magento Open Source projects and might conflict with [Magento ECE Tools](https://github.com/magento/ece-tools/), which also offers Docker Compose files.

Requirements
------------

[](#requirements)

- Installed `magento2-base` (or an existing Magento2 project)
- PHP version 8.2

Installation
------------

[](#installation)

- Via Composer ```
    composer require awesoft/magento-docker:^8.2

    ```

Usage
-----

[](#usage)

- The setup is designed to be straightforward. Additional configurations are optional and based on your specific needs.
- After installation via Composer, simply run `docker compose up` to start all necessary services automatically. Refer to `docker-compose.yml` for details.

Files Created
-------------

[](#files-created)

- `docker-compose.yml` - Specifies the services, volumes, and configurations to initiate your Magento2 instance.
- `.docker/mariadb` - Includes configuration files for a MariaDB database instance.
- `.docker/nginx` - Contains the Nginx server template configuration.

Access &amp; Services
---------------------

[](#access--services)

- Your Magento website will be accessible by default at :
    - Add `127.0.0.1 magento.local` to your `/etc/hosts` file manually.
    - Change the domain in `.docker/nginx/templates/default.conf.template` if needed.
- Mailcatcher:
- Opensearch:
- Redis:
- Check `docker-compose.yml` for more information.

Additional Command and Configuration
------------------------------------

[](#additional-command-and-configuration)

- Use the `run-install` command to execute `setup:install` with default options, ideal for a fresh Magento project. ```
    docker compose exec -it php run-install

    ```
- If successful, you can access the admin page with the following credentials:
    -
    - Username: `admin`
    - Password: `P@ssw0rd`
- By default, the `xdebug` module is disabled. To enable it, add a `XDEBUG_MODE` environment variable in your docker-compose.yml file.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~36 days

Total

2

Last Release

591d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dbe424efa19a8f6598392d0a177fe5ceaba9e5419942fc1e49fbf35c9ac024d6?d=identicon)[marlosoft](/maintainers/marlosoft)

---

Top Contributors

[![factorin-j](https://avatars.githubusercontent.com/u/2919310?v=4)](https://github.com/factorin-j "factorin-j (4 commits)")

---

Tags

magento2

### Embed Badge

![Health badge](/badges/awesoft-magento-docker/health.svg)

```
[![Health](https://phpackages.com/badges/awesoft-magento-docker/health.svg)](https://phpackages.com/packages/awesoft-magento-docker)
```

###  Alternatives

[deployer/deployer

Deployment Tool

11.1k25.4M207](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4674.7k](/packages/tiamo-phpas2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
