PHPackages                             brandontamm/dockerize-magento2 - 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. brandontamm/dockerize-magento2

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

brandontamm/dockerize-magento2
==============================

Docker infrastructure definitions for Magento 2

v1.2.1(9y ago)022Apache-2.0Shell

Since Mar 29Pushed 9y ago1 watchersCompare

[ Source](https://github.com/brandontamm/dockerize-magento2)[ Packagist](https://packagist.org/packages/brandontamm/dockerize-magento2)[ Docs](https://github.com/arvatoSCM/dockerize-magento2)[ RSS](/packages/brandontamm-dockerize-magento2/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

Dockerize Magento 2
===================

[](#dockerize-magento-2)

A composer package for dockerizing Magento 2

The composer package **arvatoscm/dockerize-magento2** deploys docker infrastructure defintion files such as [docker-compose.yml](docker-compose.yml) to your Magento 2 root folder and enables you to host your Magento 2 shops without having to install Apache/Nginx, MySQL or PHP on your system.

Package Name
------------

[](#package-name)

`arvatoscm/dockerize-magento2`

Software Requirements
---------------------

[](#software-requirements)

For Linux users you must have a recent version of [docker](https://github.com/docker/docker/releases) and [docker-compose](https://github.com/docker/compose/releases) installed.

If you are a Mac or Windows user, use the [Docker Toolbox](https://www.docker.com/products/docker-toolbox).

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

[](#installation)

Add `arvatoscm/dockerize-magento2` to your existing Magento 2 shop:

```
composer require --ignore-platform-reqs arvatoscm/dockerize-magento2
chmod +x bin/console
```

This will place some files in your Magento root:

- `docker-compose.yml`The docker infrastructure definition
- `bin/console`A utility script for controlling dockerized Magento projects
- `config`A folder which contains the configuration files for PHP, Nginx and phpMyAdmin

Usage
-----

[](#usage)

`dockerize-magento2` comes with `bin/console` script that can be used to install Magento and to execute Magentos' bin/magento script inside the PHP docker container:

Trigger the Magento 2 installation process:

```
bin/console install
```

Start the docker containers:

```
bin/console start
```

Stop the docker containers:

```
bin/console stop
```

Execute `bin/magento` inside the docker container:

```
bin/console exec [arguments]
```

For more information on how to use docker-compose visit:

Configuration
-------------

[](#configuration)

The `install` action depends on some parameters such as usernames and passwords. We have put in some default values for you that will work for a quick test:

```
DATABASE_NAME="magento2dockerized"
DATABASE_USER="magento"
DATABASE_PASSWORD="enAVINa2"
DATABASE_ROOT_PASSWORD="enAVINa2"

ADMIN_USERNAME="admin"
ADMIN_FIRSTNAME="Admin"
ADMIN_LASTNAME="Inistrator"
ADMIN_EMAIL="johndoe@example.com"
ADMIN_PASSWORD="enAVINa2"

DEFAULT_LANGUAGE="en_US"
DEFAULT_CURRENCY="EUR"
DEFAULT_TIMEZONE="Europe/Berlin"

BACKEND_FRONTNAME="management"

```

If you want to use different parameters change the values in the [.env](.env) file to your needs. After customizing the parameters just run trigger the installation with `bin/console install `.

Licensing
---------

[](#licensing)

dockerize-magento2 is licensed under the Apache License, Version 2.0. See [LICENSE](LICENSE) for the full license text.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~96 days

Total

4

Last Release

3404d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/64bb877ea4342cbac8b545fac5e97427b419e2bd1c747435e6c7f196a71cf6f2?d=identicon)[brandon.tamm@gmail.com](/maintainers/brandon.tamm@gmail.com)

---

Top Contributors

[![andreaskoch](https://avatars.githubusercontent.com/u/247364?v=4)](https://github.com/andreaskoch "andreaskoch (10 commits)")[![schlpbch](https://avatars.githubusercontent.com/u/18540761?v=4)](https://github.com/schlpbch "schlpbch (3 commits)")[![renepenner](https://avatars.githubusercontent.com/u/98465?v=4)](https://github.com/renepenner "renepenner (1 commits)")[![schmengler](https://avatars.githubusercontent.com/u/367320?v=4)](https://github.com/schmengler "schmengler (1 commits)")

### Embed Badge

![Health badge](/badges/brandontamm-dockerize-magento2/health.svg)

```
[![Health](https://phpackages.com/badges/brandontamm-dockerize-magento2/health.svg)](https://phpackages.com/packages/brandontamm-dockerize-magento2)
```

###  Alternatives

[deployer/deployer

Deployment Tool

11.0k25.4M206](/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)
