PHPackages                             jerryxu/magento-in-docker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. jerryxu/magento-in-docker

ActiveProject[Caching](/categories/caching)

jerryxu/magento-in-docker
=========================

magento-in-docker

v0.11(5y ago)010[1 issues](https://github.com/234146326/magento-in-docker/issues)GPL-3.0Dockerfile

Since Jun 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/234146326/magento-in-docker)[ Packagist](https://packagist.org/packages/jerryxu/magento-in-docker)[ RSS](/packages/jerryxu-magento-in-docker/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

magento-in-docker
=================

[](#magento-in-docker)

magento-in-docker apply magento 2.3.5.p1

\#Prerequisites
---------------

[](#prerequisites)

- ### docker

    [](#docker)
- \###[magento doc](https://devdocs.magento.com/guides/v2.3/install-gde/prereq/nginx.html)

\#Step1 Clone project
---------------------

[](#step1-clone-project)

> #### 1, git clone
>
> [](#1-git-clone)

- Git

```

git clone https://github.com/234146326/magento-in-docker.git && cd magento-in-docker && docker-compose up -d && docker ps

```

- composer ()

```

composer create-project jerryxu/magento-in-docker && cd magento-in-docker && docker-compose up -d && docker ps

```

> #### 2, goto container
>
> [](#2-goto-container)

```

docker ps && docker exec -it  sh

```

\#Step2 Download Project
------------------------

[](#step2-download-project)

> \####1, create-project magento \[\]Magento Open Source\]

```

composer create-project --repository=https://repo.magento.com/ magento/project-community-edition public

```

> \*\*\*If your network is not good, or you can follow this url document to solve network problems in China.

> \####2, goto pubilc dir

##### a), VIM ./phpdocker/nginx/nginx.conf

[](#a-vim-phpdockernginxnginxconf)

delete "#" for "# include /application/public/nginx.conf.sample;" ：( Not in php-fpm CONTAINER ID )

```

include /application/public/nginx.conf.sample;

```

##### b), execution

[](#b-execution)

```

cd public && touch command_install.sh && chmod +x command_install.sh

```

> \####3, Find Command\_install.sh in public dir.

Write this code：( Not in php-fpm CONTAINER ID )

```

bin/magento setup:install \
--base-url='http://127.0.0.1:8060' \
--db-host='magento-mysql' \
--db-name='root' \
--db-user='root' \
--db-password='root' \
--backend-frontname='admin' \
--admin-firstname='admin' \
--admin-lastname='admin' \
--admin-email='admin@admin.com' \
--admin-user='admin' \
--admin-password='admin123' \
--language='en_US' \
--currency='USD' \
--timezone='America/Chicago' \
--use-rewrites=1

```

\#Step3 Install magento (in php-fpm CONTAINER ID)
-------------------------------------------------

[](#step3---install-magento-in-php-fpm-container-id)

```

./command_install.sh && php bin/magento setup:upgrade && php bin/magento setup:di:compile && php bin/magento setup:static-content:deploy -f && php bin/magento indexer:reindex && php bin/magento cache:clean && php bin/magento cache:flush && php bin/magento deploy:mode:set developer

```

\# Release production
---------------------

[](#-release-production)

> Must guarantee you set port is already open in security group and SELinux and iptables has been set up correctly.

### | \*\*File permissions

[](#-file-permissions)

#### - \*When the server fails to run successfully, execute the command to set the necessary permissions for files and folders.

[](#--when-the-server-fails-to-run-successfully-execute-the-command-to-set-the-necessary-permissions-for-files-and-folders)

> #### reference
>
> [](#reference)

[https://devdocs.magento.com/guides/v2.3/config-guide/prod/prod\_file-sys-perms.html](https://devdocs.magento.com/guides/v2.3/config-guide/prod/prod_file-sys-perms.html)

```
chmod 777 -R var && chmod 777 -R generated && chmod 777 -R app/etc && rm -rf var/cache/* var/page_cache/* var/generation/*

```

\#More about
------------

[](#more-about)

Thanks.

- QQ: 1104460935
- Skype: jerryxuying@hotmail,com

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2161d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/461924f3dfcbb09fe857aff4537bc6ecbda4b7914d7f208004c1f87e88d0d589?d=identicon)[jerryxuying](/maintainers/jerryxuying)

---

Top Contributors

[![234146326](https://avatars.githubusercontent.com/u/17285770?v=4)](https://github.com/234146326 "234146326 (12 commits)")

---

Tags

dockerdocker-composeelasticsearchlinuxmacosmailhogmemcachedmysqlnginxphp-fpmrediswindows

### Embed Badge

![Health badge](/badges/jerryxu-magento-in-docker/health.svg)

```
[![Health](https://phpackages.com/badges/jerryxu-magento-in-docker/health.svg)](https://phpackages.com/packages/jerryxu-magento-in-docker)
```

###  Alternatives

[predis/predis

A flexible and feature-complete Redis/Valkey client for PHP.

7.8k305.7M2.4k](/packages/predis-predis)[snc/redis-bundle

A Redis bundle for Symfony

1.0k39.4M67](/packages/snc-redis-bundle)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[illuminate/cache

The Illuminate Cache package.

12835.6M1.4k](/packages/illuminate-cache)[colinmollenhour/php-redis-session-abstract

A Redis-based session handler with optimistic locking

6325.6M14](/packages/colinmollenhour-php-redis-session-abstract)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
