this post was submitted on 26 Oct 2023
1 points (100.0% liked)

Self-Hosted Main

515 readers
1 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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

Hello All,

I currently have a home server on a raspberry pi 4 with all my services running as docker containers. All containers have their own directories containing the config and database files. This makes it easy to backup and export then.

However, in the future I have plans to migrate to a more powerful server. This means I will probably not be using a CPU with an ARM architecture. So effectively, I will also have to use the corresponding docker images. So will this new x86 docker image work with my backup docker config volumes?

you are viewing a single comment's thread
view the rest of the comments
[–] colin_colout@alien.top 1 points 1 year ago (1 children)

Hi, I just went through this. Slight difference (I'm running k3s and use NFS on my NAS for configs and persistent data).

It was super smooth. Almost every container in running has an identical x86 build.

I spun up a new k3s cluster on the x86 servers and redeployed the images. Going from arm to x86 wasn't a problem except for one mariadb image that I was using that only had an arm build.

I didn't didn't build any of my own images, but if that's what you're doing, rebuild should work in most cases.

Tl;Dr, If you copy all the data folders and run the same image it should work no issue.

[–] SnowyLocksmith@alien.top 1 points 1 year ago

Thank you for the confirmation buddy