macos icon indicating copy to clipboard operation
macos copied to clipboard

Backup and transfer to other host

Open SimonBard opened this issue 4 months ago • 3 comments

Operating system

22.04

Description

What is the best way to backup a docker container and transfer to new host?

I see this possibilities: - docker way

  1. docker commit NAME_OF_INSTANCE mycontainerimage
  2. docker save -o mycontainerimage.tar mycontainerimage
  3. docker load -i ./mycontainerimage.tar
  4. docker create --name my-nginx-container -p 8080:80 mycontainerimage
  5. docker start my-nginx-container

Apple way:

  • Somehow backup the apple system with system tools (I dont know yet) and restore when running a new docker container

Docker compose

not relevant

Docker log

not relevant

Screenshots (optional)

No response

SimonBard avatar Oct 16 '24 19:10 SimonBard