PHPackages                             fsspencer/dockerize-magento - 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. fsspencer/dockerize-magento

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

fsspencer/dockerize-magento
===========================

Docker bash console to manage Magento 1 and 2 projects

362[1 issues](https://github.com/fsspencer/dockerize-magento/issues)Shell

Since Mar 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/fsspencer/dockerize-magento)[ Packagist](https://packagist.org/packages/fsspencer/dockerize-magento)[ RSS](/packages/fsspencer-dockerize-magento/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Dockerize Magento 1 or 2
========================

[](#dockerize-magento-1-or-2)

This is a simple bash script that allows you to create a container for a Magento 1 or 2 project with the ability to create/import/maintain an existing project

Features
--------

[](#features)

- Setup a Magento 1/2 project within minutes
- Create an empty Magento 2.x project (Open Source or Commerce)
- Import an existing Magento 1.x project by importing a .sql file
- Import an existing Magento 2.x project by importing a .sql file
- If you already have a container for mysql called "mysql", the script will automatically use it, otherwise it will create a new one
- One single container for Magento 1
- One single container for Magento 2
- One single container for Mysql

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

[](#requirements)

- Docker installed
- Docker accessible via command line using the command `docker`

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

[](#installation)

### Global

[](#global)

Execute the following command in your terminal in order to execute the installer. You need to have "git" and "curl" installed within your terminal.

```
bash
