Skip to content

simonbland/docker-wordmove

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

This image was officially forked by weLaika. From now, please use welaika/docker-wordmove instead of simonbland/docker-wordmove, to get the official and latest image.


Docker image to run Wordmove.

Based on mfuezesi/docker-wordmove, with WP-CLI support added.

What's inside

  • ubuntu 14.04
  • openssh-server
  • curl
  • rsync
  • wordmove
  • mysql-client-5.5
  • php5
  • wp-cli
  • ENV RUBYOPT="-KU -E utf-8:utf-8" (Fix for some mysql sync issues)

How to use

To run this image

docker run -it --rm -v ~/.ssh:/home/wordmove/.ssh:ro simonbland/wordmove bash

This starts a shell, with wordmove available on the command-line.

To run this image in a full Docker-based WordPress environment

See Wordpress development made easy using Docker

This tutorial explains how to set up a WordPress environment, using Docker Compose, with the following four interconnected containers:

  • database
  • wordpress
  • phpmyadmin
  • wordmove

Don't forget to replace image: mfuezesi/wordmove with image: simonbland/wordmove to get the latest version of Wordmove.

Known limitations

  • If sql_adapter is set to wpcli, then the movefile must be in the same directory as the WordPress directory
  • WP-CLI cannot be run as root unless the --allow-root flag is given, and Wordmove doesn't add this flag when calling WP-CLI; this is why the current user is wordmove instead of root, when starting this container

Advanced usage

To become root

Run sudo su and use wordmove as the password.

TODO

  • Base this image on a smaller image than Ubuntu
  • Configure Webhooks to build this image on Docker Hub when a new version of the wordmove gem is available

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published