这是一个Shopex ECStore B2C/B2B2C 可用的docker官方镜像
欢迎在github上提交PR来改进我们的镜像
The source files for this project can be found here: https://github.com/summergeorge/nginx-php56-docker
If you have any improvements please submit a pull request.
The Docker hub build can be found here: https://hub.docker.com/r/ecstore/nginx-php56/
nginx-php56,nginx-php56-swooleloader(nginx-php56-swooleloader/Dockerfile)nginx-php56-mysql56,nginx-php56-swooleloader-mysql(nginx-php56-swooleloader-mysql/Dockerfile)nginx-php56-zendGuardLoader(nginx-php56-zendGuardLoader/Dockerfile)nginx-php72-swooleloader(nginx-php72-swooleloader/Dockerfile)nginx-php72-swooleloader-mysql(nginx-php72-swooleloader-mysql/Dockerfile)| Tag | Nginx | PHP | mysql | ZendGuard Loader | Swoole Loader | Dockerfile | 适用产品版本 |
|---|---|---|---|---|---|---|---|
| nginx-php56-swooleloader | nginx/1.12.1 | 5.6.37 | - | - | 1.9.0 | nginx-php56-swooleloader/Dockerfile | ECstore B2C 5.0.x |
| nginx-php56-swooleloader-mysql | nginx/1.12.1 | 5.6.37 | 5.6.28 | - | 1.9.0 | nginx-php56-swooleloader-mysql/Dockerfile | ECstore B2C 5.0.x |
| nginx-php56-zendGuardLoader | nginx/1.12.1 | 5.6.37 | - | enabled | - | nginx-php56-zendGuardLoader/Dockerfile | ECstore 2.3-3.0(php56) B2B2C 3.0-4.0(php56) |
| nginx-php72-swooleloader | nginx/1.12.1 | 7.2.11 | - | - | 1.9.0 | nginx-php72-zendGuardLoader/Dockerfile | B2B2C 5.0 |
| nginx-php72-swooleloader-mysql | nginx/1.12.1 | 7.2.11 | 5.6.28 | - | 1.9.0 | nginx-php72-zendGuardLoader-mysql/Dockerfile | B2B2C 5.0 |
相关默认配置:
# 启动不含mysql的容器 php5.6
sudo docker run -d -p 8080:80 -v /path-to-ecstore:/data/httpd ecstore/nginx-php56:nginx-php56-swooleloader
# 启动包含mysql的容器 php5.6
sudo docker run -d -p 8080:80 -v /path-to-ecstore:/data/httpd ecstore/nginx-php56:nginx-php56-swooleloader-mysql
# 启动不含mysql的容器 php7.2
sudo docker run -d -p 8080:80 -v /path-to-b2b2c:/data/httpd ecstore/nginx-php56:nginx-php72-swooleloader
# 启动包含mysql的容器 php7.2
sudo docker run -d -p 8080:80 -v /path-to-b2b2c:/data/httpd ecstore/nginx-php56:nginx-php72-swooleloader-mysql
mysql 默认没有密码
To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h 563dacdc4a71 password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl
Please report any problems at http://bugs.mysql.com/
The latest information about MySQL is available on the web at http://www.mysql.com
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
igbinary
json
libxml
mbstring
mcrypt
mhash
mysql
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
redis
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
swoole_loader
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zip
zlib
[Zend Modules]
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
json
libxml
mbstring
mcrypt
mhash
mysql
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
tokenizer
xml
Zend Guard Loader
zip
zlib
[Zend Modules]
Zend Guard Loader
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
json
libxml
mbstring
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
swoole_loader
tokenizer
xml
zip
zlib
[Zend Modules]
Content type
Image
Digest
Size
220 MB
Last updated
almost 8 years ago
docker pull ecstore/nginx-php56:nginx-php72-swooleloader-mysql