I’m looking to build a couple of Drupal-powered websites and push them to Docker Hub, so that the folks I’m working with only need to issue something on the lines of
Docker run myID/myrepo
Let’s assume that I’ve built a site located at
/var/www/html/site1 in my container and I want to push this site to Hub.
I understand that I could use volumes to persist data locally but is there any way to have this data persist globally?