magento / magento/magento-cloud-docker
Fatal error while settting up local docker setup
- Dominant language
- PHP
- Stars
- 277
- Forks
- 187
- PR merge metrics
- No merged PRs in 30d
Description
### Preconditions
1. Magento Commerce 2.4.1 hosted on Magento cloud
2. Local Environment : Ubuntu
### Steps to reproduce
1. Clone repo using mgc get
2. Modied docker-compose.yml for db changes,
- MYSQL_ROOT_PASSWORD=cloud
- MYSQL_DATABASE=cloud
- MYSQL_USER=cloud
- MYSQL_PASSWORD=cloud
3. Renamed config.php.dist to config.php under .docker directory
4. mgc db:dump to get sql and copy to .docker/mysql/docker-entrypoint-initdb.d directory
2. curl https://raw.githubusercontent.com/magento/magento-cloud-docker/1.2.1/bin/init-docker.sh \| bash
3. ./vendor/bin/ece-docker build:compose --mode="developer"
4. docker-sync start (Optional)
5. docker-compose up -d
6. docker-compose run --rm deploy cloud-deploy
### Expected result
1. It should work
### Actual result
1. While installing magento in terminal got errors see attached screenshot



By seeing terminal output its lopping upgrade command.
Any help would be appreciate. Checked with magento enterprise support answered like no support for local setup!! lol
Contributor guide
Research direction
Start by reproducing the reported sequence on Ubuntu, reviewing the modified docker-compose.yml and .docker/config.php, then capture the terminal output from init-docker.sh, ece-docker build:compose, and cloud-deploy. Compare the setup with the Magento Commerce 2.4.1 environment and determine why the upgrade command loops; done means local deployment completes without the reported fatal error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, mysql, php
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100