Duplicate Docker container for second local site

[ad_1]

I’m running linux (nixOS specifically).

​

I followed [these directions here for running WP in Docker.]) The directions work fine and I can see my site.

My issue is, I copied the original folder to a new folder (for a new local site) and then ran the Docker image but it still seems to access the files from the old site/folder and I can’t run a different local site with different plugins/database.

How would I duplicate this properly so I can run an entirely different site without any crossover?

[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