eugeneware/docker-wordpress-nginx
关于
用于安装最新 WordPress、nginx 和 php-fpm 的 Dockerfile。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文docker-wordpress-nginx
A Dockerfile that installs the latest wordpress, nginx, php-apc and php-fpm.
NB: A big thanks to jbfink who did most of the hard work on the wordpress parts!
You can check out his Apache version here.
Installation
The easiest way to get this docker image installed is to pull the latest version from the Docker registry:
$ docker pull eugeneware/docker-wordpress-nginx
If you'd like to build the image yourself then:
$ git clone https://github.com/eugeneware/docker-wordpress-nginx.git
$ cd docker-wordpress-nginx
$ sudo docker build -t="eugeneware/docker-wordpress-nginx" .
Usage
To spawn a new instance of wordpress on port 80. The -p 80:80 maps the internal docker port 80 to the outside port 80 of the host machine.
$ sudo docker run -p 80:80 --name docker-wordpress-nginx -d eugeneware/docker-wordpress-nginx
Start your newly created docker.
$ sudo docker start docker-wordpress-nginx
After starting the docker-wordpress-nginx check to see if it started and the port mapping is correct. This will also report the port mapping between the docker container and the host machine.
$ sudo docker ps
0.0.0.0:80 -> 80/tcp docker-wordpress-nginx
You can the visit the following URL in a browser on your host machine to get started:
http://127.0.0.1:80
探索相关项目
加载中…