Hello! I need a guide on how to migrate data from shared hosting to Docker. All the guides I can find are about migrating docker containers though! I am going to use a PaaS - Caprover which sets up everything. Can I just import my data into the regular filesystem or does the containerisation have sandboxed filesystems? Thanks!

  • @SheeEttin@lemmy.world
    link
    fedilink
    English
    210 months ago

    Yes, I would set up the containers empty, then import your data however the applications want it. Either by importing via their web interface, or by dropping it in their bound directory.

    • @anarchotaoist@links.hackliberty.orgOP
      link
      fedilink
      English
      110 months ago

      Thanks! So, here in the Capriver demo config for Wordpress path says: var/www

      This is the regular var/www? Not a different one for the Wordpress container?

      I would just simple put my current WP files (from public-html) in that directory?

      Do the apps all share a db?