Skip to content

docker

Auto Added by WPeMatico

Installing Magento via docker getting with Elasticsearch

I am trying to run Magneto 2.4.3(php 7.4). Here is my docker-compose.yml file. services: web: image: webdevops/php-apache-dev:7.4 container_name: magento2-web volumes: – .:/public_html ports: – “127.0.0.1:8989:80” user: www-data:www-data environment: – WEB_DOCUMENT_ROOT=/public_html/pub – WEB_ALIAS_DOMAIN=local.magento2.com:8989 – WEB_NO_CACHE_PATTERN=\.\w+$ – CONTAINER_UID=33 #see https://github.com/webdevops/Dockerfile/issues/226 restart: always… Read More »Installing Magento via docker getting with Elasticsearch

I get this error: returned non-zero exit status 1 while running bin/magento-docker ece-deploy in Magento Cloud with Docker

I’m installing Magento Cloud with Docker on Local from an existing Magento Cloud Production environment. These are the steps I have done: Clone the repository Composer Install dump database into local downloaded pub/media created the build — ./vendor/bin/ece-docker build:compose –mode=”developer”… Read More »I get this error: returned non-zero exit status 1 while running bin/magento-docker ece-deploy in Magento Cloud with Docker

Docker DDEV / DB error | php_network_getaddresses: getaddrinfo for mysql failed: Temporary failure in name resolution

I’m quite new to the Docker and DDEV material. I’ve setup a local instance of our Magento repository, using Docker and DDEV. Imported the database and changed the env.php using the following settings for the DB: But I keep getting… Read More »Docker DDEV / DB error | php_network_getaddresses: getaddrinfo for mysql failed: Temporary failure in name resolution

Can’t use ‘bin/magento’ commands after running ‘composer update –ignore-platform-reqs’

I have magento running from https://github.com/markshust/docker-magento , everything is working fine, but when i run composer update –ignore-platform-reqs then all bin/magento commands stop working. Any ideas on what could be happening? and what would be the best solution? Deleting the… Read More »Can’t use ‘bin/magento’ commands after running ‘composer update –ignore-platform-reqs’