docker-magento VS docker-magento2

Compare docker-magento vs docker-magento2 and see what are their differences.

docker-magento2

Magento 2.4, Apache 2.4, PHP 7.4, MariaDB 10.4.16, Elasticsearch 7.6.0, Varnish 6.4.0 (by echo-magento)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
docker-magento docker-magento2
20 1
2,376 64
- -
9.1 0.0
9 days ago almost 2 years ago
Shell Dockerfile
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

docker-magento

Posts with mentions or reviews of docker-magento. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-16.
  • Images are not being displayed in frontend and admin panel is not loading in backend in a freshly installed magento 2.4.7
    1 project | /r/magento2 | 7 Dec 2023
    Mark Shust's Magento Docker
  • Docker container installed using WSL2 does not show in Docker Desktop
    1 project | /r/docker | 12 Jun 2023
    I am very new to docker as well as WSL2 so it is very possible I am overlooking something rather obvious. I am trying to install Magento on my Windows 10 machine using https://github.com/markshust/docker-magento.
  • Blank Page and Not Connecting Admin after Production Mode/Di:Compile
    1 project | /r/magento2 | 18 May 2023
  • Magento 2.4.5 Docker Setup
    4 projects | /r/Magento | 16 Mar 2023
  • is working on magento as a junior developer is the best idea?
    2 projects | /r/Magento | 10 Mar 2023
    Get a local development environment setup using Mark Shust's Magento Docker project - Mark is super helpful and the README is quite comprehensive
  • Magento 2.4 Local Development Setup - Mac M2
    6 projects | /r/Magento | 21 Feb 2023
    M2 MacBook Pro user here too. I've never used Warden so I'm not going to be too much help there however I can recommend Mark Shust's Docker setup if you're open to using something else. I've used it Ubuntu, MacOS, Apple Silicon, Intel, and AMD platforms without issue.
  • dev enviroment: windows wsl2 ubuntu docker vs vmware player 17 ubuntu docker
    2 projects | /r/Magento | 11 Feb 2023
    For more details I compared both setups. For both I use https://github.com/markshust/docker-magento Magento 2 docker stuff. Using Windows was nice as I like having everything there like I already had phpstorm, my clipboard manager, chrome, etc. But Windows just uses up all the ram quickly and becomes laggy. I debated about going the vmware route but just do it, it doesn't take that long to setup. I benchmarked a simple page request after clearing caches in Magento 2 and the performance is actually a little better (8%) in vmware docker than windows wsl2.
  • Anyone with a Magento test server I can connect API to for testing?
    2 projects | /r/Magento | 3 Oct 2022
  • Connect local /etc/host with docker
    2 projects | /r/docker | 28 Sep 2022
    ## Mark Shust's Docker Configuration for Magento ## (https://github.com/markshust/docker-magento) ## ## Version 43.2.0 ## To use SSH, see https://github.com/markshust/docker-magento#ssh ## Linux users, see https://github.com/markshust/docker-magento#linux ## If you changed the default Docker network, you may need to replace ## 172.17.0.1 in this file with the result of: ## docker network inspect bridge --format='{{(index .IPAM.Config 0).Gateway}}' version: "3" services: app: image: markoshust/magento-nginx:1.18-8 ports: - "80:8000" - "443:8443" volumes: &appvolumes - ~/.composer:/var/www/.composer:cached - ~/.ssh/id_rsa:/var/www/.ssh/id_rsa:cached - ~/.ssh/known_hosts:/var/www/.ssh/known_hosts:cached - appdata:/var/www/html - sockdata:/sock - ssldata:/etc/nginx/certs extra_hosts: &appextrahosts ## Selenium support, replace "magento.test" with URL of your site - "magento.test:172.17.0.1" phpfpm: image: markoshust/magento-php:8.1-fpm-1 volumes: *appvolumes env_file: env/phpfpm.env #extra_hosts: *appextrahosts db: image: mariadb:10.4 command: --max_allowed_packet=64M --optimizer_use_condition_selectivity=1 --optimizer_switch="rowid_filter=off" ports: - "3306:3306" env_file: env/db.env volumes: - dbdata:/var/lib/mysql redis: image: redis:6.2-alpine ports: - "6379:6379" elasticsearch: image: markoshust/magento-elasticsearch:7.16-0 ports: - "9200:9200" - "9300:9300" environment: - "discovery.type=single-node" ## Set custom heap size to avoid memory errors - "ES_JAVA_OPTS=-Xms1g -Xmx1g" ## Avoid test failures due to small disks ## More info at https://github.com/markshust/docker-magento/issues/488 - "cluster.routing.allocation.disk.threshold_enabled=false" - "index.blocks.read_only_allow_delete" rabbitmq: image: markoshust/magento-rabbitmq:3.9-0 ports: - "15672:15672" - "5672:5672" volumes: - rabbitmqdata:/var/lib/rabbitmq env_file: env/rabbitmq.env mailcatcher: image: sj26/mailcatcher ports: - "1080:1080" ## Blackfire support, uncomment to enable #blackfire: # image: blackfire/blackfire:2 # ports: # - "8307" # env_file: env/blackfire.env ## Selenium support, uncomment to enable #selenium: # image: selenium/standalone-chrome-debug:3.8.1 # ports: # - "5900:5900" # extra_hosts: *appextrahosts volumes: appdata: dbdata: rabbitmqdata: sockdata: ssldata:
  • Module Development in Magento 2 (Adobe Commerce): Registering a Module
    1 project | dev.to | 21 Aug 2022
    You have an install of Magento 2 that you can develop with (if you don't then this repo with docker will work wonders.

docker-magento2

Posts with mentions or reviews of docker-magento2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-13.
  • Magento 2.4 Local Setup for Plugin Development?
    2 projects | /r/Magento | 13 Apr 2021
    I'm currently maintaining multiple Magento 2.3.6 platforms for our clients, so it's not like I can just upgrade my local database to MySQL 8 for Magento 2.4. So, what I do is, I still use my local apache setup, in which I've set it up so I can quickly switch between PHP 7.3 and 7.4. And for the database, elasticsearch, varnish, redis, mailhog, etc, I use this repo: https://github.com/echo-magento/docker-magento2. However, I have issues with the elasticsearch of that build, so instead I pull the image from โ€œdocker.elastic.co/elasticsearch/elasticsearch:7.7.0โ€. Then, I set my Magento 2.4 platform locally on Apache webserver to connect to those services in docker.

What are some alternatives?

When comparing docker-magento and docker-magento2 you can also consider the following projects:

ddev - Docker-based local PHP+Node.js web development environments

Laradock - Full PHP development environment for Docker.

warden - Warden is a CLI utility for orchestrating Docker based developer environments [Moved to: https://github.com/wardenenv/warden]

reward - Reward is a Swiss Army knife CLI utility for orchestrating Docker based development environments.

warden - Warden is a CLI utility for orchestrating Docker based developer environments

docker-based-monitoring-stack-boilerplate - This is a boilerplate for docker based monitoring stack.

devcontainers-mongodb-replica-set-with-docker - Docker based development container template to run a MongoDB replica set cluster in local machine.

elastdocker - ๐Ÿณ Elastic Stack (ELK) v8+ on Docker with Compose. Pre-configured out of the box to enable Logging, Metrics, APM, Alerting, ML, and SIEM features. Up with a Single Command.

wordpress-docker-compose - Easy Wordpress development with Docker and Docker Compose

dockerfiles - :whale: A curated list of delicious docker recipes ๐Ÿ‡บ๐Ÿ‡ฆ๐Ÿ‡ฎ๐Ÿ‡ฑ

devilbox - A modern Docker LAMP stack and MEAN stack for local development

nginx-proxy-automation - Automated docker nginx proxy integrated with letsencrypt.