Exporting a site from Local to WordPress in a Docker container?

[ad_1]

I think the title says it all. At any rate, I have two WordPress installations; one is using Local, the other is in a Docker container on my server. And I simply want to export the Local site to my server. I’ve searched, looked at lots of explanations. but none seem to fit my needs. They all suppose a setup I don’t have (local WordPress running with Apache, for example; or access to cPanel in my hosting environment; or a different file structure). My Local site is on a Linux machine, and my server is running Docker on Ubuntu 20.04 LTS. Where can I find how to export the local site to my server?

Both sites have been set up using standard methods; so for example on the server I have a couple of bind mounts, one for the WordPress container:

volumes:
– “/home/me/Docker/wordpress:/var/www/html”

and the other for its database:

volumes:
– “/home/me/Docker/dbdata:/var/lib/mysql”

There should be nothing strange, unusual, about either setup, but I can’t find simple instructions for export/import. I should say that I have no fear of the command line (in fact I use it in preference to GUI tools), but I’ll use a plugin if there’s one that does the job. Many thanks!

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer