this post was submitted on 02 Sep 2023
29 points (93.9% liked)

Selfhosted

40219 readers
1294 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 17 points 1 year ago (19 children)

https://docs.docker.com/storage/volumes/

Just move your data and then either create bind mounts to those directories or create a new volume in docker and copy the data to the volume path in your filesystem.

I also suggest looking into podman instead of docker. Its basically a drop in replacement for docker.

[–] [email protected] 6 points 1 year ago (9 children)

Podman definitely isn't a drop in replacement, it's like 90% there.

[–] [email protected] 4 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago

From my experience, a bit of systemd config.

load more comments (7 replies)
load more comments (16 replies)