Skip to content

Move Docker containers to other computer

Lauri Ojansivu edited this page Apr 26, 2021 · 5 revisions

Copy all docker containers and data to new server, replacing all of docker on new server:

ssh [email protected]
cd repos/wekan
sudo su
docker-compose stop
systemctl stop docker
cd /var/lib
tar cvpzf docker.tar.gz docker
systemctl start docker
scp docker.tar.gz [email protected]:/var/lib/
exit
exit

Then on new server restore:

ssh [email protected]
sudo su
systemctl stop docker
cd /var/lib
mv docker old-docker
tar xpvzf docker.tar.gz
systemctl start docker
exit
exit

OLD INFO:

This page is work in progress, and needs more details.

  1. If you have installed Wekan with Docker like at this page:

https://github.com/wekan/wekan/wiki/Export-Docker-Mongo-Data

  1. and you want to move Docker containers to another computer (laptop, server etc) that also has Docker installed, use Docker export and import commands:

https://docs.docker.com/engine/reference/commandline/export/

https://docs.docker.com/engine/reference/commandline/import/

  1. If mongo data is on volume, also use this:

https://docs.docker.com/engine/tutorials/dockervolumes/#backup-restore-or-migrate-data-volumes

Wekan

General

Fake: Not WeKan kanban

Security

Scaling

Migrating

Support priorities for new features and bugfixes

  1. Commercial Support
  2. Community Support
  3. Debugging

Backup

Repair

Themes

Markdown Syntax

Login Auth

Metrics, Logs, Stats

Integrations

Time

Features

Email

Required Settings

Download

Webservers

REST API Docs

REST API issue

REST API client code

Webhooks

Case Studies

Development

Issues

Clone this wiki locally