Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [docker]

Questions related to running Magento and related services inside Docker containers

0
votes
1answer
24 views

Magento 2 + Docker Setup [duplicate]

Anyone have an idea of how to setup docker in ubuntu 16.04 for Magento2? Also able to describe docket concept basic will be better. Thanks
0
votes
0answers
19 views

M2 | How can we use same code base among all team members via Git?

We are a team of developers and wanted to share same codebase (DB, Configuration, Magento instance). We are using Magento 2 Image for Docker. Individually we are working fine with docker. Now we want ...
0
votes
0answers
17 views

Help with Setup a local environment with docker [duplicate]

https://github.com/miguelBarreiro85/magento2.3 im trying to setup a local environment with docker to magento 2.3 with 4 containers nginx - because apache is slower php7.2 fpm mysql venia concept (...
0
votes
0answers
8 views

How can we use two different Magento 2 Versions/Instances installed using Docker?

I have installed Docker Image for Magento 2 and it is working fine. I need two different Magento Versions i.e Magento 2.1.13 and Magento 2.3.0 working simultaneously on my system. How can I install ...
0
votes
1answer
29 views

Permissions Error while Magento 2 installation as Magento 2 Image for Docker

I have cloned Magento 2 Image for Docker from here https://github.com/rhinos-dubai/docker-magento2.git but when I install It asks for so many permissions as from blow screen shots: and I have ...
0
votes
0answers
16 views

M2 | How to give path for custom module using volumes in docker-compose.yml?

I have a custom module, I want to run it on my Magento 2 installed as Magento Docker Image. I figured we can use modules and themes by giving there paths in docker-compose.yml file as Volumes. For ...
0
votes
0answers
35 views

How to create custom module after installing Magento 2 Docker Image?

I have installed Magento docker Image and frontend, backend is working fine. The directory structure of Magento docker Image installed is: Now I am looking how to start my first module. I have these ...
0
votes
1answer
61 views

How to setup development environment for magento 2 with docker?

I am trying to install Magento 2 on my macOS Mojave I have installed Docker first. Then, I followed this https://github.com/clean-docker/Magento2 link but stuck at last here is the error that comes ...
0
votes
1answer
57 views

How to setup Docker Image for Magento 2 on Mac Book?

I want to setup Docker for Magento 2. I have gone through number of links but didn't find the solution yet. Can somebody share useful links to do this. Thanks
0
votes
0answers
36 views

Magento 2 + docker setup getting error of Redis

I have tried to set up one source in the local environment with docker image but getting an issue like below Fatal error: Uncaught CredisException: Connection to Redis failed after 2 failures....
3
votes
1answer
63 views

Magento 2 - Docker - Data not persisting

I'm currently running Magento 2 on Docker using docker-compose.yml here is the file: version: '3.0' services: web: image: alexcheng/magento2 container_name: magento2 ports: - "80:...
1
vote
0answers
24 views

How to run CLI command in docker Magento 2

I am stuck with docket installed by my client. Whenever i'm running command it says not available and when i tried to run external php file from Magento root its throwing following error PHP Warning: ...
3
votes
2answers
71 views

Connect Redis to Docker-compose

I've setup my docker to connect with redis. But upon running the application i'm getting this error Fatal error: Uncaught CredisException: Connection to Redis redis:0 failed after 2 failures. Last ...
3
votes
2answers
106 views

Run Magento 2 inside a Docker Container

Is there a way to run my existing magento 2 project inside a docker container? I have an existing project that is run inside a vagrant but I'm encountering a lot of issue in the vagrant and we decided ...
4
votes
2answers
290 views

Invalid template file in Magento 2.3

I have been reading the forum but I can't find any solution to solve my case. I have a custom module where I'm getting the error: 1 exception(s): Exception #0 (Magento\Framework\Exception\...
1
vote
0answers
13 views

Magento2 - after installation: Setup starts again

Today is my big Magento2 day and I run from one error into the next. After some hours I was able to install Magento completly. In the last step, it comes to "go to backend" "go to frontend". 1) ...
1
vote
2answers
96 views

Magento2 Installation Error by 0%

since a few days I am trying to install Magento with Docker, Composer on Windows 10. So far, I got to the Web-Installation. A huge step for me... After clicking the last step, Magento stuck by 0%. ...
0
votes
0answers
109 views

Docker Magento 2

I try create magento 2 docker image, but after run docker-compose up --build i have some problem, build process is die on step to install magento(RUN php bin/magento setup:install...), getaddrinfo ...
1
vote
0answers
76 views

Magento2 and Docker-Compose is incredible slow on Linux

We are working on a local env for developers and a Magento 2 Docker-Compose Stack. We are using nginx, PHP 7.2, Elasticsearch and Varnish. However, we experience unbearable loading times with and ...
1
vote
2answers
541 views

Static Content 404 with Magento 2 and Nginx

Preface: I have read through as many posts as I can find about this issue, but I have tried all solutions suggested already. The Issue Using a quick docker setup to get a local instance of Magento 2 ...
1
vote
1answer
134 views

Scaling Magento 2 on multiple containers in production with generated code

I'm working on some auto-scaling Kubernetes infrastructure to run Magento 2, and I noticed that when I start new containers, I can't have the generated/ directory automatically compiled as part of the ...
0
votes
0answers
138 views

Redis session configuration breaks web setup page

I have an issue when it comes to using Redis as session cache. If I use Redis for session caching, I lose the ability to go /setup page. When I remove Redis related code, the page loads just fine. I'...
0
votes
1answer
121 views

official Docker image Magento 2

As part of opening a Magento 2 CE 2.2.6 store on AWS, we would like to know if there is an official Docker image with an image deployment guide on AWS? Thx
1
vote
1answer
348 views

Magento2: Missing commands on build server

I try to make a Magento2 Pipeline Deployment and running in a awkward error. But first a few words to the deployment: I use a docker container with installed php and nodejs. I copy in the container ...
1
vote
1answer
371 views

Magento2 | Docker files permissions on Windows volume

I'm trying to set up correctly a magento2 project with Docker on Windows 10 and I'm mounting 2 volumes (one with magento2 files and one to save db files). When I'm trying to get in the admin dashboard ...
1
vote
0answers
147 views

DomainException after clean Docker installation

I used a Docker configuration for Magento which I found here. I used the files in the example folder to get myself started. After finishing the installation I went to see if the CLI options are ...
3
votes
1answer
1k views

Magento 2 - Really Bad Performance in Docker

we are using Docker on macOS for development and deployment and have massive performance problems especially in deployment. Our deployment does a full project build with: git clone composer install ...
2
votes
1answer
500 views

Deploying Magento 2 with a docker

I have a project Magento 2. It has a folder docker. Please tell me how to deploy an existing project with the help of a docker? Is there a good tutorial? All I've found is installing a magenta using ...
0
votes
2answers
227 views

Upgrading from 2.0.6 to 2.2.4

I'm currently experiencing bugs when trying to upgrade my dockerized installation of Magento 2.0.6 to Magento 2.2.4 I've imported the latest dump from production to the Docker Env and proceeded with ...
0
votes
1answer
63 views

How to configure Magento2 to use selenium_hub in a Docker environment

I am struggling to get the selenium hub docker to work with Magento2. I have used it in other frameworks like Django, but I'm struggling to make the connection in Magento2. I'm working on top of https:...
13
votes
2answers
7k views

How to setup Magento 2 with Docker

I want to setup Magento 2 with docker and system of containers are ubuntu. Can anyone help me, how to setup docker file?
4
votes
2answers
2k views

File Permissions Magento 2

I am trying to use Mark Shust's repo to install Magento 2 with Docker. For some strange reason, I am getting this error: I tried all the answers here. For more details: https://github.com/...
1
vote
1answer
162 views

How to install n98-magerun on a docker container

I have a Magento 1.7 version running on a container, and I would like to use n98-magerun. How can install n98-magerun when using a Dockerfile and not docker-compose?
2
votes
1answer
80 views

Do I need a production database to run integration tests?

I'm trying to run integration tests on our CI server using a docker container. Now the documentation states that I only need to have a test-database (called magento_integration_tests), so I created ...
1
vote
0answers
273 views

Is there a working docker environment for Magento 2?

I already tried to get Magento 2 running now for more then 6 months, but still failing. Is there a working docker-container for Magento 2.2.1 that doesn't only give you a working webpage but also can ...
1
vote
1answer
353 views

How use Logstash in Magento2 in Docker?

I want to have Docker container with Magento2 shop and container with Logstash. Also I have independent Elasticsearch server. I want to send all logs from Magento with build-in Monolog logger to ...
2
votes
1answer
571 views

magento 2 development with docker

We are 2 developers using Linux,1 designer using Windows. We have 3 environments (develop-virtual,test-virtual in one server). And live-its in different server. We are using git with 3 branches: ...
1
vote
1answer
1k views

Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 12288 bytes)

I'm getting the next error after docker-compose up. Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 12288 bytes) in /var/www/html/vendor/zendframework/zend-...
0
votes
1answer
51 views

Theme-Related Exception thrown after restart

This is my first Magento project and I am using DevBox Magento 2.1.6 CE. I installed a custom theme and have it running. However, when I restart my Magento set-up (using "./m2devbox-init.bat") I get ...
0
votes
1answer
403 views

Magento2 Docker Container shutdown After Magento2 install

I have create Dockerfile for setup LEMP then add entrypoint to one script to install magento 2, while create container. After Create Container our entry point script to call to install magento2, ...
0
votes
0answers
243 views

How to install Docker DevBox on Linux?

How could I install correctly the Magento Devbox on my Linux (Ubuntu)?
1
vote
1answer
1k views

Docker dev environment doesn't allow command line commands

I recently set up a magento2 dev environment with Docker as identified on magento.com. However after installing new extensions I cannot run setup:upgrade or static-content deploy. Is this because of ...
0
votes
2answers
226 views

Magento 2 DevBox Beta Caching

I'm using the Docker DevBox (Beta) from Magento for development. Unfortunately, after developing a while, it seems that the container caches everything. Sometimes it helps when I restart Docker. In ...
3
votes
2answers
1k views

Magento 2: Run commands in Docker

I am new to docker and devbox. I have setup DevBox Successfully and its working fine in a local system. I need information how to run CLI ie. php bin/magento cache:flush access phpmyadmin My local ...
1
vote
0answers
635 views

Docker container show “Fatal error: Uncaught Error: Class 'Cli' not found in /bin/magento”

I have installed docker for my local magento 2 development Following this stuff https://github.com/redbox-digital/magento-docker This currently best setup magento for linux container running docker. ...
0
votes
3answers
325 views

js not load properly in docker devbox

I have installed dev enviroments for magento 2 based in configuration beta provides But js not load even i already have setup permissions and installed sampledata Anyone know how to fix it? Running ...
1
vote
1answer
690 views

Permission Denied (Windows) - M2Devbox Installation Issue

I'm new to Magento, and to Docker for that matter... Managed to get as far as executing the ./m2devbox-init.bat script which pulled the necessary files from the repo and did the installation but ...
2
votes
1answer
257 views

Magento devbox not install

I install magento devbox based on docker on windows10pro. And get error ERROR: for web Cannot create container for service web: invalid bind mount spec "C:\magedevbox\shared\logs\php-fpm:/var/...
1
vote
0answers
474 views

Magento DevBox Beta Speeds Magento 2 Setup - Container is not working

I have installed the docker on Windows 7. It's working fine and run as well. I installed the Magento site using Varnish and Redis, so works fine. When I tried to enable the deploy:mode:set to ...
4
votes
3answers
1k views

Magento 2 development: use or not Redis and Varnish?

I have several issues using Varnish and Redis, so I disabled to develop. In the Alan Kent's (Magento Chief Architect) post say to use the two to develop, I'm using this image Docker below with Redis ...