
wwright/magento2-web-local【重要】此镜像非生产环境使用
docker-compose.yaml
yamlweb: image: wwright/magento2-web-local volumes: - F:/www/docker-magento2/dev/magento:/var/www/html/current environment: - XDEBUG_CONFIG=remote_host=host.docker.internal remote_enable=1 - PHP_IDE_CONFIG=serverName=local.magento2.com depends_on: - redis-cache - redis-fpc - redis-session - db
DocumentRoot /var/www/html/current/pub/镜像预装了四个helper脚本,并已注册到$PATH中:
magentoxmagenton98magerun2xn98magerun2magento以正确用户身份运行magento CLI
bash#!/bin/bash su -s "/bin/bash" -c "bin/magento $*" www-data
xmagento以正确用户身份运行magento CLI并强制启动XDEBUG,用于命令行调试
bash#!/bin/bash su -s "/bin/bash" -c "export PHP_IDE_CONFIG='serverName=aws.solesociety.com'; php -d xdebug.remote_autostart=1 bin/magento $*" www-data
n98magerun2以正确用户身份运行n98-magerun2
bash#!/bin/bash su -s "/bin/bash" -c "export PHP_IDE_CONFIG='serverName=aws.solesociety.com'; php -d xdebug.remote_autostart=1 bin/magento $*" www-data
xn98magerun2以正确用户身份运行n98-magerun2并强制启动XDEBUG,用于命令行调试
bash#!/bin/bash su -s "/bin/bash" -c "export PHP_IDE_CONFIG='serverName=aws.solesociety.com'; php -d xdebug.remote_autostart=1 bin/magento $*" www-data
无特殊说明
php-7.3: 对应PHP 7.3版本





manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务