Docker development quick reference


Action Command
Build and start Docker environment docker-compose up -d
Build environment docker-compose run build cloud-build
Deploy environment docker-compose run deploy cloud-deploy
Connect to CLI container docker-compose run deploy bash
Use ece-tools command docker-compose run deploy ece-command <command>
Use Magento command docker-compose run deploy magento <command>
Stop and remove Docker environment (removes volumes) docker-compose down -v
Stop Docker environment without destroying containers docker-compose stop
Resume Docker environment docker-compose start


The following example lists the ece-tools commands that relate to launching a Docker development environment:

php ./vendor/bin/ece-tools list | grep docker
  docker:build             Build docker configuration
  docker:config:convert    Convert raw config to .env files configuration