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?

  • colin_colout@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    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.