How-To Move Docker Container to Another Host With their Data - Bind Mound method

preview_player
Показать описание
How-To Move Docker Container to Another Host With their Data - Bind Mound method
Commands needed to backup / snapshot a docker container and copy over to another host, deploy the snaphot docker image on new host and follow with manual data copy over to new host to maintain same data between the two hosts.
===========================
Network Security courses on ElastiCourse/Udemy:

Introduction to Fortigate Firewall

Fortigate Advanced Configuration

Introduction to FortiManager course
===========================
AWS Web Application deployment and migration course
Рекомендации по теме
Комментарии
Автор

This is the best video I found for me (a beginner) to understand.

Vandy
Автор

This is life saver to me! I am beginner and creating a docker project. Created an nginx customized image and did not have idea on how to package along with the html. Thanks a zillion!!

geetharaghuram
Автор

Was searching for a simple and to the point video - found it here ., Many Many Thanks - please make more videos.., !!

bhaveshjoshi
Автор

great, greater, you are the greatest. With this video i was able to smoothly migrate my containers from old dell t7500 with a lot of power consumed to a brand new dell wyse 5070 running xpenology with only 10W TDP

arex
Автор

Precise information...no hunky junky talk. Apreciated!

jamesT
Автор

thanx a lot for this awesome tutorial!

MAXimator
Автор

Great video. Im thinking twice about using docker for some production applications its really concerning to see containers are not really self contained. They are still fun though :)

berizzian
Автор

I wish I could like 1000x because this video was super useful.
Thank you.

andresantana
Автор

thank you so much. you are a life saver

umitkirtil
Автор

I didn't know you could go from a container on Linux to a container on Windows ! thanks for the tips ;)

pitwyman
Автор

Thanks a ton !!! I just started learning Docker & was having this doubt
about packaging the container along with data stored in corresponding volumes .

It would be really helpful if you could create a full series on Docker, Docker-compose .

mridulchoudhary
Автор

Man, you're fucking awesome. Congrats.

victorcandiani
Автор

You left out the most important piece - moving the volumes and deal with the file access attributes aftermath. There is really no need to move the container as you can always pull a new container from the docker hub on the new host. The volumes are what hold the data that define the system.

philsipad
Автор

Hi, why do you use docker commit instead of using the official image? Isn't just copying the bind mounts enough?

killua_
Автор

Very nice work! One key point for me: I have to copy the docker run parameters with my image. (all the port mappings, volume mappings etc.)
Without run parameters it is only an image. I wonder why there is no option to export container start parameters. It would be easier to share containers with my colleagues.

aszuts
Автор

Where did you copy the dns folder on windows? Did you zip and copy the files over? Did you unzip then on the desktop? The pwd shows etc-bin not bin?

shaunpx
Автор

*Please note:*

*docker save [image] > file.tar* followed by *docker load < file.tar*



Might not work if the save and load are executed on a different OS.

Always use:

*docker save [image] -o file.tar* followed by *docker load -i file.tar*

ElastiCourse
Автор

now that the container in your windows env use the pieholebackup image, what do you do if you want to use the latest piehole (official) image then?

ariefilkom
Автор

Thank you for the video. Does it make a difference if I used Yacht to install the container? I have 1 container that has about 100G of data that I need to move to another machine so that I can nuc it and install a different OS on it. I was just looking for a simple way of doing it.

BrianThomas
Автор

hope we can use the same steps if I migrate the base machine from centos to ubuntu?

premkumarmani