New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
sounds like docker compose?
Docker was made to be portable, look up the networking and volumes attached and you'll be good to go on starting up new containers. Make sure to copy images over if you built them yourself.
https://github.com/Red5d/docker-autocompose
i have some notes from the past when backing up / restoring containers.
-to backup-
docker run --rm --volumes-from portainer -v $(pwd):/backup busybox tar cvfz /backup/backup.tar /data
-to restore-
docker run --rm --volumes-from portainer -v $(pwd):/backup busybox sh -c "cd /data && tar xvf /backup/backup.tar --strip 1"
hopefully this is helpful!
create/use a docker private registry push all of them to private registry, pull them from new node. (remember that shared mounts files won't be included)
or manual file (image) transfer.