Files
dockerfiles/wordpress
Qi Zheng e196275ebf Update to support the k8s deployment
Set user/group to httpd to make it compatible with
clearlinux php-fpm and nginx.

Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-08-21 13:32:42 +08:00
..
2019-07-22 08:45:27 +08:00
2019-07-22 08:45:27 +08:00
2019-07-22 08:45:27 +08:00

WordPress

This provides a Clear Linux* WordPress instance.

Build

docker build -t clearlinux/wordpress .

Or just pull it from Dockerhub

docker pull clearlinux/wordpress

Start a wordpress instance

sudo docker-compose up

Check wordpress container status

run "docker container ls"

it will list wordpress containers info:

CONTAINER ID IMAGE PORTS NAMES

eff987d8f6e9 clearlinux/nginx:latest 0.0.0.0:8080->80/tcp wordpress_nginx_1

738f71a6e7fa clearlinux/wordpress:latest 9000/tcp wordpress_wordpress_1

deaa8614ce8d clearlinux/mariadb:latest 3306/tcp wordpress_db_1

Edit web/blog in wordpress

open the brower on host machine, visit wordpress page with

http://host-ipaddr:8080/wp-login.php

Details of how-to

Please refer to page.

Extra Build ARGs

  • swupd_args Specifies SWUPD flags

Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg