Questions tagged [docker]

Questions related to running Magento and related services inside Docker containers

Filter by
Sorted by
Tagged with
0 votes
0 answers
99 views

How to disable Magento_TwoFactorAuth plugin for Magento Cloud Docker?

I am doing the Magento Cloud Docker setup in my Ubuntu server, however I need to bypass the 2 factor authentication because I am setup in local. I know that we can disable the related module for the ...
ooi18's user avatar
  • 1
0 votes
0 answers
12 views

When xdebug is enabled bin/magento commands won't work

I'm using Mark Shuts docker version, If xdebug is enabled, bin/magento commands won't work, and let's say if i run bin/magento cache:clean PhpStorm starts to debug out of nothing. Also I get this ...
elunicotomas's user avatar
0 votes
0 answers
18 views

Moving from working prod Magento 2 install to local docker all white screens everywhere. No errors anywhere

We have a working prod version of Magento running at Nexcess. We are trying to debug an integration and want to get it running locally. We've pulled down all the production files and db and have them ...
John W.'s user avatar
0 votes
1 answer
27 views

Magento 2.4.6 mulitple vhosts on a single server and Varnish in Docker

Afternoon I've got Varnish running on a Plesk based server and all is working well based upon the instructions from here: https://talk.plesk.com/threads/magento-2-plesk-varnish-setup-in-a-docker....
wjp_bill's user avatar
  • 330
0 votes
0 answers
24 views

Password protect whole Magento site running on Docker

I'm still finding my feet both in Magento and Docker. Can anyone suggest how I can password protect a whole Magento site running within Docker? I understand the best/easiest way to do this is to ...
CResults's user avatar
  • 105
1 vote
0 answers
106 views

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 ...
MaxiKloas's user avatar
0 votes
0 answers
22 views

Trouble running Magento on Linux

My friend was trying to run a source code for a store on Magento. His setting up for magento includes PHP 7.4, Docker and Composer. However, this was what he got: I'm new to Magento so I too have no ...
Ngoc's user avatar
  • 33
1 vote
0 answers
32 views

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. ...
elunicotomas's user avatar
0 votes
0 answers
81 views

magento2 on kubernetes

I am trying to deploy magento on Kubernetes, I am using php-fpm as a base image with nginx, the magento files are available locally on Docker, but when I move it to Kubernetes i do notenter code here ...
Naveen Naidu's user avatar
0 votes
0 answers
143 views

Magento2: How to execute Cron in non-root container on Kuberentes?

I've used the Bitnami Magento Helm chart to install Magento 2 on the Kubernetes cluster. By default, the pod and the container are configured not to use root users which is good from a security point ...
Soron's user avatar
  • 11
1 vote
1 answer
145 views

Docker containers stop after starting them

I'm using Warden with Magento, and I notice that when I start a project with "warden env up", all containers boot up, but immediately some of them stop working (the image shows in gray the ...
karli's user avatar
  • 11
1 vote
0 answers
163 views

Issue on Magento 2.4.6 installing on docker

Hi I have installed magento 2 on docker.when I stop and start the container ,it shows error: failed switching to "root": operation not permitted After I run as root also the issue persist....
Jothi Subramanian's user avatar
2 votes
1 answer
158 views

How to deploy markshust/docker-magento image to AWS

I'm running a project locally using markshust/docker-magento, and everything is working fine. Now I need to deploy my store to an AWS cluster using docker, but in my code, I'm not able to see the ...
Jorge Cordero's user avatar
0 votes
0 answers
17 views

Magento installer existing project with docker: cannot delete file

I got this issue when I tried to run composer install.
user112705's user avatar
1 vote
1 answer
429 views

How to install Magento 2.4.5-p1 in docker?

We have Run Below Command for install magento in docker. curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup | bash -s -- magento.test 2.4.5-p1 But given error. ...
Sutariya Parth's user avatar
2 votes
1 answer
599 views

Magento 2.4.4 READONLY You can't write against a read-only replica

The website keeps going down throwing error. {"0":"READONLY You can't write against a read-only replica.","1":"#1 Cm\RedisSession\Handler->read() called at [...
David Buik's user avatar
0 votes
1 answer
335 views

Magento 2 Cloud Docker SSL certificate hostname change

I am using setup my local Cloud Docker https://devdocs.magento.com/cloud/docker/docker-development.html local hostname set - test.test To configure the custom host and port, add the host and port ...
Mage Rider's user avatar
0 votes
1 answer
233 views

How to run Magento CLI command in docker Magento 2.4.4?

I tried to run the Magento command in docker but am getting the error as per the screenshot. Error ScreenShot:
Anil Makwana's user avatar
0 votes
1 answer
522 views

Getting error Could not validate a connection to Elasticsearch. No alive nodes found in your cluster with docker

I am trying to upgrade my magento 2.3.5 to 2.4.4 and seting up magento in docker I have installed elasticsearch as well using docker via docker-compose.yml and able to access it with elasticsearch:...
Hitesh Agrawal's user avatar
0 votes
0 answers
430 views

Magento 2.4.3p1 - Redis keeps growing

So, we went live with a new m2 shop last week. It all worked well in our develop environment. Since we dockerized the m2 installation, I wasnt expecting much trouble. But our redis cache keeps growing ...
Mario's user avatar
  • 478
0 votes
2 answers
1k views

Docker magento 2 setup issues with Mysql (markshust/docker-magento)

Facing a MySQL connection issue while Magento2 setup with docker at local I have followed the steps mentioned in the existing project in the below link markshust/docker-magento: Mark Shust's Docker ...
Rana's user avatar
  • 1
0 votes
1 answer
351 views

Magento 2 all product and category request is redirect to http://baseurl/20us%20search%20us%20search%20us%20search?amnoroute

I have set up my live project in a docker environment using this. https://github.com/bhaveshpp/magento-docker-server/ All thing working perfect but when I search for the product it will redirect my ...
Bhavesh Prajapati's user avatar
1 vote
0 answers
223 views

Running Deploy Hook via bin/magento-docker ece-deploy results with Could not open input file: ./vendor/bin/ece-tools returned non-zero exit status 1

I am trying to get a project that is already live in production setup and installed on my local for development. After running my bin/magento-docker up -d all of my containers start successfully. But ...
Denoteone's user avatar
  • 111
0 votes
1 answer
330 views

Static files don't fully deploy on a docker-based deployment

I'm having trouble implementing the deploy strategy described in e.g. https://info2.magento.com/rs/585-GGD-959/images/The%20New%20Magento%202.2%20Deployment%20Capabilities%20%26%20Patterns.pdf I build ...
Roger Firpo's user avatar
0 votes
0 answers
470 views

Magento 2 installation error [--search-engine]

I am installing magento 2.3.4-P2 in a docker container and I am getting this error "The --search-engine option does not exist" when executing the installation command with elasticsearch ...
user103369's user avatar
1 vote
1 answer
375 views

How to know if my ElasticSearch is vulnerable against Log4j?

I don't have Java installed in my main Docker, but I'm using ElasticSearch v6.8.3 in another instance. curl -XGET 'http://localhost:9200' Am I vulnerable against Log4j even not running ElasticSearch ...
Rafael Corrêa Gomes's user avatar
1 vote
2 answers
750 views

Magento cloud docker environment cannot send out email to mailhog

I am using the official cloud docker image to setup local environment docker-development However it cannot send out email even if I already put environment: - ENABLE_SENDMAIL=true Under fpm ...
leo's user avatar
  • 1,246
0 votes
0 answers
313 views

Magento 2.4.3 Docker setup on Linux

I am thinking about magento 2.4.3 docker setup. Has anyone tried https://github.com/markshust/docker-magento on linux ? What's the best docker linux magento setup on linux ?
Hamendra Sunthwal's user avatar
0 votes
2 answers
112 views

couldn't start dockergento and pull images

I am trying to setup new project locally but can't pull any docker images, tried on old project and still same issue. tried restarting everything, re logging in docker etc. pulled docker-hello ...
Giga Todadze's user avatar
0 votes
2 answers
815 views

Magento Cloud Docker Setup

Does anyone have set up their commerce cloud project with Magento cloud docker, I need help to know how the project and docker will be synced. container bash is working for me but app/ folder is ...
MagentoDeveloper's user avatar
0 votes
1 answer
2k views

No lockfile found. Unable to read locked packages Magento2.4.3 composer update issue

/app/magento2# composer update Loading composer repositories with package information In Laminas\DependencyPlugin\DependencyRewriterV2::onPrePoolCreate Updating dependencies Nothing to modify in lock ...
Radha Krishna's user avatar
0 votes
0 answers
216 views

Docker with magento how to apply file changes to frontend

I have setup magento with This Github repo but when changing pub/index.php with exit command it won't affect untill i push this to container.So my question is that everytime when i create file or ...
magento stacker's user avatar
1 vote
1 answer
1k views

What's the best way to set up Magento on an Apple Silicon?

Has anyone set up Magento 2 on an Apple Silicon with all its dependencies like Elasticsearch, Varnish, Redis, etc.? Currently there are various ways like Magento Cloud Docker, Docker Magento, Warden ...
Adarsh M's user avatar
  • 584
0 votes
1 answer
534 views

Magento Commerce Cloud Docker Deployment - Invalid entity_type specified: customer

I have an existing Magento Commerce Cloud Project which I want to deploy to a Docker environment. Running ./bin/magento-docker ece-deploy I get the following error: Running "deploy" hook. [...
Th. Schott's user avatar
0 votes
1 answer
386 views

Magento Cloud Docker Can't get version of elasticsearch: cURL error 6: Could not resolve host: elasticsearch

I want to set up a Local Development Environment with Docker but I have no experience with Docker. I ran ./bin/magento-docker ece-deployand get the error: ERROR: [132] Can't get version of ...
Th. Schott's user avatar
0 votes
2 answers
62 views

Magento 2 EE: Running composer update is giving error

I am trying to run composer update and want to push the changes to magento cloud but is giving the following error: Problem 1 magento/product-enterprise-edition 2.3.4 requires ext-bcmath * -> the ...
GenZ Dev's user avatar
  • 600
2 votes
1 answer
369 views

Difference between magento-cloud variable:list and vendor/bin/ece-tools env:config:show

I'm having issues setting the CRYPT_KEY environment variable in production mode. I can see CRYPT_KEY and env:CRYPT_KEY using the magento-cloud variable:list command, but it isn't recognized when I run ...
user2453676's user avatar
0 votes
0 answers
130 views

Magento 2, 2 websites, multiple docker containers-speed implications?

I currently have a powerful dedicated server hosting 2 websites, we are experiencing CPU overload & clashing on indexing & rewarming FPC, to solve this problem, I am considering breaking out ...
bigfella59's user avatar
0 votes
2 answers
350 views

Cannot gather stats and Invalid template file after installing Porto theme

After setting up Magento 2 in developer mode, I am getting a couple of errors: [2021-04-19 21:39:09] report.INFO: Broken reference: the 'yotpo_bottomline' tries to reorder itself towards 'product.info....
user2453676's user avatar
1 vote
1 answer
2k views

Setup Magento2 Docker Config Apple Silicon M1

is there any way to set up a docker compatible environment for Apple M1? Unfortunately Warden doesn't support the new ARM chips for now. are there any viable alternatives to having a working ...
AntonioC's user avatar
  • 187
0 votes
0 answers
353 views

Magento 2 Docker: Frontend ignore updated files

i'm losing my mind and work. This is not my first Docker expierience, I worked with magento-docker in the past. Today I have this strange problem that cannot resolve by myself and seem no other had. ...
Alex's user avatar
  • 81
0 votes
1 answer
3k views

Port must be configured within host parameter in Magento 2

I received the following error, "Port must be configured within host parameter. like localhost:3306 in /var/www/html/dbm2/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php" when trying to go ...
Eric Brown's user avatar
1 vote
3 answers
1k views

Magento Docker container stops at "Running Magento install script"

I am new to Magento and Im trying to setup a Magento developer environment on Windows 10 machine with Docker. I'm using Bitnami Magento images and I managed to start up MariaDB and Elasticsearch ...
Darth Shirr's user avatar
1 vote
1 answer
870 views

Docker Setup for Magento cloud - Elasticsearch issue faced

I have tried to setup the Magento cloud project using docker desktop preview. And I am using Mac M1 chip. Docker desktop preview installed successfully. Followed magento devdocs for docker setup and ...
Janagiram Ramakrishnan's user avatar
0 votes
1 answer
261 views

Selenium : Admin should be able to log into the Magento Admin backend successfully

I'm trying to run functional tests on my magento project following this tutorial i'm using selenium docker image by running this command : docker run -d -p 4444:4444 --shm-size 2g selenium/standalone-...
Nisrine Hafi's user avatar
0 votes
4 answers
4k views

Why I am getting error like " Could not validate a connection to Elasticsearch. No alive nodes found in your cluster " on docker with magento 2.4.1

Getting error like - Could not validate a connection to Elasticsearch. No alive nodes found in your cluster I am using docker for magento 2.4.1 while installation i am getting this error. My docker-...
Deepak Rai's user avatar
  • 1,155
0 votes
2 answers
695 views

Magento 2.3 suddenly very slow on developer mode

I have been developing on a magento2 docker env (warden) environment for weeks with no problems. Development mainly on the frontend in developer mode, deactivating only the full_page, block_html and ...
AntonioC's user avatar
  • 187
0 votes
2 answers
283 views

Magento 2.4.1 Developer Mode not working

i have installed Magento 2.4.1 via Docker and tried to change to developer mode. The problem is, that the developer option dont show up in the settings. I have tried: Setting Developer Mode in nginx ...
Make UP's user avatar
  • 123
0 votes
1 answer
1k views

Magento 2.4 Varnish error STACK OVERFLOW

I have a dockerised M2.4 installation. All worked fine with my theme and the installed extensions while working with Magento demo data. As soon as update the database with the live data I cannot get ...
NudeWeb's user avatar
  • 31
0 votes
1 answer
1k views

How to create a docker image of an existing Magento 2 website running with Apache/PHP7.2/MySQL/ubuntu 18.04 version

We have a Magento 2 website and are trying to deploy the website as docker containers running in Kubernetes in GCP. At present, we have the website set up with a LAMP. So I believe we need to have the ...
Sandeep S's user avatar