note that the official Docker wordpress and Mysql containers separate out their data directory (/var/www/html and /var/lib/mysql, I think). via the VOLUME command. Docker inspect the image to see where docker is saving your files.
So when you do a backup into a container, you're really backing up into the VOLUMEs that were created on your host, and not the actual containers.
note that the official Docker wordpress and Mysql containers separate out their data directory (/var/www/html and /var/lib/mysql, I think). via the VOLUME command. Docker inspect the image to see where docker is saving your files.
So when you do a backup into a container, you're really backing up into the VOLUMEs that were created on your host, and not the actual containers.