MacOS:
Install Docker and run:
gem install docker-sync
brew install unison
brew install eugenmayer/dockersync/unox
Windows:
Install Docker and Docker-sync.
Linux:
Install Docker and Docker-compose.
Just run these commands below in your terminal, change the MYMAGENTO2 to use the name of your project:
curl -s https://raw.githubusercontent.com/Imagination-Media/docker-magento2/master/init | bash -s MYMAGENTO2 clone
cd MYMAGENTO2
rm -rf src/*
./shell install-magento2
You can also clone this repository and run these commands:
./init MYMAGENTO2
rm -rf src/*
./shell install-magento2
Enjoy your new panels!
Web server: http://dev.local/
PHPMyAdmin: http://dev.local:8080
Local emails: http://dev.local:8025
Commands | Description | Options & Examples |
---|---|---|
./init |
If you didn't use the CURL setup command above, please use this command changing the name of the project. | ./init MYMAGENTO2 |
./start |
If you continuing not using the CURL you can start your container manually | |
./stop |
Stop your project containers | |
./kill |
Stops containers and removes containers, networks, volumes, and images created to the specific project | |
./shell |
Access your container | ./shell root or ./shell ls |
./magerun |
Use the Magerun and Magento CLI commands as you want | |
./xdebug |
Enable / Disable the XDebug |
Apache © 2018 Imagination Media and contributors.