Closed ixkaito closed 7 years ago
Hi @joeynimu ,
Sorry for the inconvenience. You have to manually export the databases and copy the whole of the data directory to your new machine. On your new machine, wocker run --name EXISTINGSITE
will create a container using existing files. Then, wocker wp db import wordpress.sql
will put the site back.
There is another way: https://gist.github.com/ailispaw/1e8f87f0a0def8e09351479d5adc1492. This tool packages a single container including files and the database to a Docker image. You can push it to Docker Hub, and pull it from your new machine. I'm planning to merge this into Wocker's next version.
Hope this helps :)
Hi @ixkaito ,
Thank you so much for your swift response. This has really helped me.
Cheers
@joeynimu said: