git clone git@github.com:duhon/magento-docker.git
git clone git@github.com:magento/magento2.git ~/www/magento2ce
cd magento-docker
docker-compose -f docker-compose(-apple?).yml up
- docker-compose exec app /usr/sbin/sshd
- ssh root@magento.test -p 222
- Password - root
Done.
- docker-compose -f bundles/test.yml up
- docker-compose exec app magento reinstall (ee|ce|b2b) - need installed M2 (see Instalation M2).
- docker-compose exec app magento prepare_tests
- docker-compose exec app bash
- cd dev/tests/acceptance/
- vendor/bin/codecept run
Done.
- docker-compose exec app magento reinstall (ee|ce|b2b)
- It is impossible to run multiple instances of the same service, problem in the ports