How to migrate to Docker? - eviltoast

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
    arrow-up
    2
    ·
    1 year 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
      arrow-up
      1
      ·
      1 year 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?